Re: [Plib-users] height over terrain testing with a 3ds-file as map
Brought to you by:
sjbaker
From: <cal...@ya...> - 2001-01-05 02:10:38
|
--- Robin Laerm <Rob...@gm...> wrote: > Hello everybody, > > I have a map realized with 3d Studio Max. If I load > the *.3ds - file with the PLIBs Load3ds - function, > it is doing very well. But how can I realize I > height over terrain testing with this *.3ds - file? > > you can use ssgHOT function for this purpose. There is a nice example for ssgHOT in example programs. ( link is "Example programs and Documentation for PLIB-1.3.1 or later." in plib home page ) I think it was majik_demo in ssg directory. download it and search for string "ssgHOT". I copied and pasted those lines in my program and they worked well :) ( i used a 3ds file as terrain as you intend ) NOTE : check traversal masks in your scene graph.I think SSGTRAV_HOT is on by default and this my create performence problems if you do not disable it for non-terrain geometry. __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ |