Search found 71 matches

by CameroKid
Fri Dec 26, 2008 4:53 am
Forum: Advanced Help
Topic: Making my own mesh inside of the engine
Replies: 9
Views: 893

Thanks for the help everything works great. Out of curiosity what are the last two coordinates in a vertex? the Tcoords
by CameroKid
Thu Dec 25, 2008 5:20 am
Forum: Advanced Help
Topic: Making my own mesh inside of the engine
Replies: 9
Views: 893

Ok I think I'm a bit confused on the S3DVertex object. What is the difference from x, y ,z and nx, ny, and nz. Can someone explain what each value means? I made my own mesh and I see it fine, but when I try to use the mesh in Newton the collision doesn't match.
by CameroKid
Wed Dec 24, 2008 12:10 am
Forum: Advanced Help
Topic: Making my own mesh inside of the engine
Replies: 9
Views: 893

Thanks for the reply but that link doesn't help much. Is there a tutorial? This involves making a class right? I'm not sure I want a class. I want to be able to alter the verticals and triangles of the mesh whenever I want. can I do that through a class?
by CameroKid
Tue Dec 23, 2008 9:56 pm
Forum: Advanced Help
Topic: Making my own mesh inside of the engine
Replies: 9
Views: 893

Making my own mesh inside of the engine

I know how to draw something on the engine:

driver->drawIndexedTriangleList(&Vertices[0], VertNumb, &indices[0], TriangleNumb);

but how can I set an IMesh pointer to what I have drawn so I can use it in the engine?
by CameroKid
Sun Nov 30, 2008 3:01 am
Forum: Advanced Help
Topic: Delete all buttons?
Replies: 4
Views: 500

Yep. I forgot to clear the old button's data. Thanks
by CameroKid
Fri Nov 28, 2008 8:13 pm
Forum: Advanced Help
Topic: Delete all buttons?
Replies: 4
Views: 500

Delete all buttons?

Is there a command to delete all buttons in the GUI? I tried env->clear() but it leaves many of my buttons where they were when I redraw new things. Please help.
by CameroKid
Sat Aug 09, 2008 10:29 pm
Forum: Beginners Help
Topic: wordwrap in a button?
Replies: 2
Views: 136

Hate it when I solve it a few hours after I post. Just add static text as a child to the button.
by CameroKid
Sat Aug 09, 2008 4:15 pm
Forum: Beginners Help
Topic: wordwrap in a button?
Replies: 2
Views: 136

wordwrap in a button?

Is it possible to set word wrap on in a button or do I have to write the code myself?
by CameroKid
Sat Aug 09, 2008 4:00 pm
Forum: Beginners Help
Topic: Why isn't my transparency transparent?
Replies: 5
Views: 313

1.4
by CameroKid
Sat Aug 09, 2008 1:45 am
Forum: Beginners Help
Topic: Why isn't my transparency transparent?
Replies: 5
Views: 313

Why isn't my transparency transparent?

Here's my code: anode->setMaterialFlag(video::EMF_LIGHTING, false); anode->setMaterialTexture( 0, driverA->getTexture("data\\a.png") ); anode->getMaterial(0).MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; I have transparency information in a.png. Why is it drawing my green transparen...
by CameroKid
Wed Aug 06, 2008 12:52 am
Forum: Game Programming
Topic: What about music?
Replies: 4
Views: 1665

What about music?

Where do you guys get / make music for your games? I'm sure you don't have full orchestras on hand. What software do you use? I can play several interments but I am no good at writing music. Any tips?
by CameroKid
Fri Aug 01, 2008 1:13 am
Forum: Beginners Help
Topic: Program crashes on getFileName()
Replies: 4
Views: 236

I fixed it. I figured out how Open Dialogue works. I needed to access the data on the EGET_FILE_SELECTED event handler rather than the Button clicked handler. Thanks for replying though.
by CameroKid
Thu Jul 31, 2008 11:59 pm
Forum: Beginners Help
Topic: Program crashes on getFileName()
Replies: 4
Views: 236

no good. It reads file as true and crashes anyway
by CameroKid
Wed Jul 30, 2008 10:24 pm
Forum: Beginners Help
Topic: Program crashes on getFileName()
Replies: 4
Views: 236

Program crashes on getFileName()

Here's a shortened version of my source: class MyEventReceiver : public IEventReceiver { public: bool OnEvent(const SEvent& event) { if (event.EventType == irr::EET_GUI_EVENT) { s32 id = event.GUIEvent.Caller->getID(); gui::IGUIEnvironment* env = device->getGUIEnvironment(); switch(event.GUIEven...
by CameroKid
Wed Jul 30, 2008 1:23 am
Forum: Beginners Help
Topic: const wchar_t* to a char array
Replies: 4
Views: 348

perfect, thanks.