CompuServe Thread

#AXP questions

4 messages in this thread
#195958From: Peter K. WatjeOct 18, 1995 1:19 PM
2 quick questions about AXP's. 1. Can an AXP get spot light info(target position and FOV)? 2. How do you get a pick dialog to select objects. I could not find a gfx_?? call to do this. Peter Watje Spectral Imaging
#195966From: Jonas Ruikis [ADESK]Oct 18, 1995 2:33 PM
Hi Peter, << 1. Can an AXP get spot light info(target position and FOV)? >> Have you tried using the kxp_get_[node|key].. for a light and target from an AXP? Have you seen the file Animte.zip in the software dev kit section? There are limitation in making pxp and kxp calls from an AXP at rendertime. Animte.zip identifies some of the pxp limitations. However, pxp/kxp calls are valid during AXP dialog time (note..computing Secondary Motion Data for Flame & Vapor during dialog time.). 2. How do you get a pick dialog to select objects. I could not find a gfx_?? call to do this. Do you mean gfx_mesh_at (pg 169 IPAS4)? jonas[adesk]
#196295From: Peter K. WatjeOct 20, 1995 12:09 PM
Jonas, Thanks I wil try the KXP kxp_chooset_node to get the light info but from what I understand from the Animter.zip he was only able to get frame 0 info and I need to get the light source and target location for all frames. Guess I will just link object to the light source and target and use those instead. >>Do you mean gfx_mesh_at (pg 169 IPAS4)? Actually I was looking for some thing more like the dialog box that you get in the 3d Editor when you hit the "H" key but that will allow you to select multiple objects. I am gonig to try the kxp_choose_node but that only allows one selection at a time. BTW basically I am trying to build a list of objects for collision detection for a particle system. Peter Watje Spectral Imaging
#196313From: Jonas Ruikis [ADESK]Oct 20, 1995 2:57 PM
Hi Peter, <<.. Guess I will just link object to the light source and target and use those instead..>> Have you seen Meier.zip in IPAS Usage for possible ideas? << Actually I was looking for some thing more like the dialog box that you get in the 3d Editor when you hit the "H" key but that will allow you to select multiple objects. >> Check out SELBYN.zip and LTUTIL.zip in Software Dev Kits for some ideas.. jonas[adesk]