Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Render weapon separate
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Render weapon separate (Read 1769 times)
Roland
byte
Posts: 7
Render weapon separate
«
on:
March 07, 2012, 08:01:58 pm »
If I use an example and have another object to close to the screen, the weapon will be inside that other objectobject, and you will not see the full weapon. I would like to render it separate so I the weapon never can look like it is inside any objects. Anyone knows how to do it?
Logged
EgonOlsen
Administrator
quad
Posts: 12295
Re: Render weapon separate
«
Reply #1 on:
March 07, 2012, 08:25:06 pm »
You can put it into a separate world, render your main world, clear the zbuffer and then render your weapon world. But you have to keep the camera of both worlds in sync as well as other settings like lighting, fogging etc.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Render weapon separate