Viewport command in vb.net
Viewport command in vb.net
Hi i am looking for help on VB.net to create a viewport does anyone have a code idea that might help me as i have no clue as to how to use it
so it would be appreciated

I am working on a 3d Rpg making program i need to know how to use the viewports command to create 4 viewports with different camera angles top,front,side and perspective and as you can tell from the previous post on this forum i am a complete n00b at this iirrlicht SDK, all i need to know is how to use the command basically how do i DIM a viewport i can then do the rest
this is the command that i am haveing trouble with
'-----------------------------------------------------------
device.VideoDriver.ViewPort(New Rect(0, 0, x/2, y/2))
'-----------------------------------------------------------
I hope this has helped me to be more specific
-
Guest
-
AndreOdendaal
- Posts: 16
- Joined: Tue Dec 27, 2005 10:13 am
- Location: Johannesburg, South Africa
one more question how would i define more than 1 of these viewports if it is possible?
woud i need to create a new device for each viewport?
or is there an easier way to do this
Ok I have tried to create another new device but it crashes, could i possibly need to create an array?
if you can help or at least steer me in the right direction i would very much appreciate it
-
AndreOdendaal
- Posts: 16
- Joined: Tue Dec 27, 2005 10:13 am
- Location: Johannesburg, South Africa
-
Brett19
another way
Its also possible that you could use render to texture, have 4 textures on screen and have the actual 3d hidden offscreen with the textures rendering from different angles.