Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Nemo
21
Years of Service
User Offline
Joined: 31st Oct 2002
Location: Bangor, Northern Ireland
Posted: 6th Dec 2002 02:50
Hi there.
I use 3dmax3 for models (exported as .x) and i make all the windows for my buildings with planes, then use dark ghosting to make them a bit window like when loaded in the world. I also set the cull property of set object so that the face of the plane can be seen from both sides.
This worked great in db but in dbpro the windows go invisible when viewed from a certain position (often when looking directly at them), but never when looking at the back face.
I have discovered that when objects are not centered on the grid in studio max this invisibility thing happens regardless of weather or not they are a window.
The problem with this for me is that i tend to build the windows as part of a whole model of a building and then save them seperately so that i can load them in the correct position without fiddling about.This is not working in dbpro and has also scuppered my fence making to some degree.
Anyone had a problem like this?
mimesis
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Norway
Posted: 6th Dec 2002 04:34
My suggestin is - Do it with dbp!
Max is great, but dbp is perfectly able to make its own plains.

1.Make a plain object
2.Texture object
3.Set object visual
for win_id = 1 to total_windows
read win_pos_x,win_pos_y,win_pos_z
read win_ang_x,win_ang_y,win_ang_z
position object win_id,win_pos_x,win_pos_y,win_pos_z
rotate object win_id,win_ang_x,win_ang_y,win_ang_z
next

Or something like that
Of course u have to precompute more like this, but hey!
welcome to game design
Kangaroo2
21
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 6th Dec 2002 10:45
If a plain dissappears from certain angles, but is always viewable from behind, it sounds like you need to use the 'set object cull objectnumber, 0' command. This will automatically draw all faces, not just the ones it thinks you can see. Therefore, no miscalculation, and no dissapearing polys. Hopefully

* If the apocalypse comes, email me *
mimesis
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Norway
Posted: 6th Dec 2002 14:40
He's already doing that
UberTuba
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 6th Dec 2002 20:54
well, In dbpro plains are automatically not culled, so you do not nead to use the set object command

Life is a terminal disease.
You never survive it.
Nemo
21
Years of Service
User Offline
Joined: 31st Oct 2002
Location: Bangor, Northern Ireland
Posted: 7th Dec 2002 02:58
Thanks chaps. I think i will give the dbpro plains a try.

SonicBoom
21
Years of Service
User Offline
Joined: 26th Nov 2002
Location:
Posted: 7th Dec 2002 05:44
"1.Make a plain object
2.Texture object
3.Set object visual
for win_id = 1 to total_windows
read win_pos_x,win_pos_y,win_pos_z
read win_ang_x,win_ang_y,win_ang_z
position object win_id,win_pos_x,win_pos_y,win_pos_z
rotate object win_id,win_ang_x,win_ang_y,win_ang_z
next"

Does anyone know how to get the SIZE of the "window" plain to be created??

I have a tutorial on using similar to these windows for collisions (www.actinic.hiway.co.uk) but currently store the size in an array, manually!

thnx
Kangaroo2
21
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 10th Dec 2002 16:37
they ARE culled automatically but sometimes it get is wrong! My Dizzy demo is a good example, I shall upload it soon... prolly

* If the apocalypse comes, email me *

Login to post a reply

Server time is: 2024-05-07 17:11:06
Your offset time is: 2024-05-07 17:11:06