RenderToBitmap only the 3D visuals and not the entire viewport border
#1
I wanted to if its possible to RenderToBitmap only the area on viewport that contains 3D visuals wraped together and not the whole Viewport border area?
#2
(03-15-2021, 09:57 PM)Somanna Wrote: I wanted to if its possible to RenderToBitmap only the area on viewport that contains 3D visuals wraped together and not the whole Viewport border area?

HiĀ 
the way i did it was hide or switch everything else off then rendertobitmap(mymaincamera)
Kevan Hampson
#3
You can also:
1) save the current camera settings: TargetPositition, Offset, Heading, Attitude, Distance (may be different if you use some other type of camera and not TargetPositionCamera)
2) call camera.FitIntoView
3) call camera.RenderToBitmap
4) reset camera settings from saved values
Andrej Benedik
#4
(03-16-2021, 09:55 AM)abenedik Wrote: You can also:
1) save the current camera settings: TargetPositition, Offset, Heading, Attitude, Distance (may be different if you use some other type of camera and not TargetPositionCamera)
2) call camera.FitIntoView
3) call camera.RenderToBitmap
4) reset camera settings from saved values

LOL put better than how i said it, yes this is similar to my method.
Kevan Hampson
  


Forum Jump:


Users browsing this thread:
1 Guest(s)