Pxp_create_item Sample
7 messages in this thread
Hi all,
Is anyone getting tired of my constant questions yet? <g> If not…
Does anyone have some sample code or code snippets that demonstrate how to
perform a pxp_create_item using pxp_put_vert and pxp_put_face?
I can create objects in the editor using the burst mode commands but I'm
finding the direct call method a bit confusing.
I've been trying to get this to work for a couple of hours now, with no
success. The best I've been able to accomplish is to create an "invisible"
object that crashes 3DS when I try to select it! (No, it's not hidden. <g>)
Thanks for everyone's help. If it weren't for this forum, I'd never get
anything accomplished.
Did you see my reply to Gus when this section first got lively? I've made faces
via the function call interface, and I uploaded a few snippets. Is that what
you're looking for?
Offhand, I'd recommend to explicitly initialize all fields of the structs
you're passing to the functions. After you've loaded the object, you need to
draw it via pxp_draw_item() Do you do that? My first few attempts crashed,
too.
Hi John,
> I've made faces via the function call interface, and I uploaded a few
snippets. Is that what you're looking for?
Yes, that's what I'm looking for. Are these bits of code available here or did
you send them directly to Gus?
> After you've loaded the object, you need to draw it via pxp_draw_item() Do
you do that?
Yes, I made sure I was issuing a draw command.
> My first few attempts crashed, too.
Whew! Now I don't feel so stupid! <Grin>
Thanks John,
Danny…
Hi John,
> I've made faces via the function call interface, and I uploaded a few
snippets. Is that what you're looking for?
Yes, that's what I'm looking for. Are these bits of code available here or did
you send them directly to Gus?
> After you've loaded the object, you need to draw it via pxp_draw_item() Do
you do that?
Yes, I made sure I was issuing a draw command.
> My first few attempts crashed, too.
Whew! Now I don't feel so stupid! <Grin>
Thanks John,
Danny…
I'm sure they've scrolled, I posted them in public. I tell you, though,
there's nothing special about them, I did exactly what I said: init everything,
fill in what you have, then call the function. Maybe you should upload snippets
of what you're doing instead, and then we can all stare at it. Mine didn't
work until I filled in a valid bounding box, for example.
John, and everyone else.
I've been collecting all of the threads in this forum. I now have
one file with your questions and the various answers. It is my
intention to post this file in the public Software Dev. Kits section
in the future. I am going to mail it to you later in the day for your
review. If you wish to comment/edit/expand on any of the subject
matter, please do.
In addition, Gary said that he would find answers to a *few* very
specific questions regarding IPAS3 and 3DS. John, you've
mentioned the desire for understanding how 3ds loads an
IPAS3 module into memory. So.. what are they?
Has anyone/everyone received the new manuals/code?
Assume the R4 wishlist for IPAS4 is a semi firm April 1st.
And one more thing. Is everyone/noone using 3de to do their
work?
jonas[adesk]
– Docs and code: Nop. Haven't got any yet.
– 3DE: 'course. Can't live without it.