#AXP questions
4 messages in this thread
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
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]
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
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]