Search found 54 matches
- Fri Mar 07, 2008 9:06 pm
- Forum: Beginners Help
- Topic: Object without texture (like in Solid Works etc)
- Replies: 9
- Views: 570
Thanks arras!!! I've been trying to get this to work for awhile now. You are correct, setting only the vertex color (meaning, the .Color member of an S3DVertex) does *not* give you vertex color. You also have to turn off lighting for the material with node->setMaterialFlag(irr::video::EMF_LIGHTING, ...
- Mon Nov 12, 2007 11:25 pm
- Forum: Bug reports
- Topic: [fixed]CAnimatedMeshSceneNode::removeChild() bug
- Replies: 3
- Views: 955
[fixed]CAnimatedMeshSceneNode::removeChild() bug
In my app, I add an animation scene node as a child of my mesh (CAnimatedMeshSceneNode) representing a spell effect. In 1.3.1, I could call removeChild using the sfx node id and it would remove the effect. In 1.4, it isn't getting removed. I've traced the problem to CAnimatedMeshSceneNode::removeChi...
- Wed Nov 07, 2007 10:04 pm
- Forum: Advanced Help
- Topic: How to pass events to the GUI from a mouse event handler?
- Replies: 1
- Views: 598
How to pass events to the GUI from a mouse event handler?
I have some code to do node picking and some other actions in the EMIE_LMOUSE_PRESSED_DOWN portion of my main event handler. Awhile back, I discovered that I needed to test whether the GUI wanted the event before I did anything with it, else if someone clicked on GUI controls (such as in a dialog) t...
- Mon Nov 05, 2007 11:46 pm
- Forum: Bug reports
- Topic: [no bug]: BACK_FACE_CULLING and .tga files
- Replies: 3
- Views: 756
Hm. Never mind about the back face culling. It started working once I did a clean build of my app after fixing the const problem on the textures. The more I think about it, I think it was the same issue (const on getMaterialCount) since of course if there are no materials, there is no chance for me ...
- Mon Nov 05, 2007 11:12 pm
- Forum: Bug reports
- Topic: [no bug]: BACK_FACE_CULLING and .tga files
- Replies: 3
- Views: 756
You are right, it was a method signature problem. .tga had nothing to do with it, it was my custom scene node. getMaterialCount is now const, so of course my custom node was returning 0 (from the ISceneNode default) not 1 (from my override which is no longer an override, grrr I hate that 'feature' o...
- Mon Nov 05, 2007 10:40 pm
- Forum: Bug reports
- Topic: [no bug]: BACK_FACE_CULLING and .tga files
- Replies: 3
- Views: 756
[no bug]: BACK_FACE_CULLING and .tga files
Ok, I finally did a test of my (was working great in 1.3.1) app, using the 1.4beta files. Right away, there are two problems: 1. EMF_BACK_FACE_CULLING = false (for two-sided polys) doesn't seem to work. 2. .TGA file don't seem to work. At least, the symptom is that none of my custom scene nodes that...
- Mon Nov 05, 2007 10:33 pm
- Forum: Bug reports
- Topic: MacOS X and latest SVN
- Replies: 11
- Views: 1444
Ok, the consts are added. I could not really understand what the link suggested (does testing for EXT_texture_env_combine help or does Macs need all _EXT replaced by _ARB?). BTW: What happens without the define? I hope that Niko will fix the XCode project etc. Mac doesn't define any _EXT constants....
- Fri Nov 02, 2007 12:14 am
- Forum: Off-topic
- Topic: DLL or static lib?
- Replies: 15
- Views: 5726
PS: I don't want to open a new thread about this little question so..: Is it possible to make a dll in vc EXPRESS? I *think* so. I remember reading a story about someone building an IDE extension with Express (which I think was a DLL) and getting in trouble for it. But, I had the bucks for the full...
- Thu Nov 01, 2007 11:32 pm
- Forum: Off-topic
- Topic: DLL or static lib?
- Replies: 15
- Views: 5726
- Thu Nov 01, 2007 12:32 am
- Forum: Off-topic
- Topic: DLL or static lib?
- Replies: 15
- Views: 5726
Re: DLL or static lib?
At which situations should I choose to create a DLL/Static library? That's easy: use a DLL and forget about static lib. The only reason to use a static lib is if you're too busy to make a .dll or don't know how. I use DLL for everything, and never use static libs. Off the top of my head, here are s...
- Wed Oct 31, 2007 3:11 pm
- Forum: Open Discussion and Dev Announcements
- Topic: SColor for OpenGL and Vertex Buffering
- Replies: 20
- Views: 3535
Re: SColor for OpenGL
Hello: I was wondering what would be the best way to remove the conversion from ARGB to RGBA in SColor for the OpenGL renderer. I see irrspintz does it by using a toggle for the colours to suggest which driver is being used. Anyone thought of a neater way? Cheers. I've wondered about this myself ev...
- Wed Oct 31, 2007 2:46 pm
- Forum: Bug reports
- Topic: MacOS X and latest SVN
- Replies: 11
- Views: 1444
- Tue Oct 30, 2007 10:46 pm
- Forum: Bug reports
- Topic: MacOS X and latest SVN
- Replies: 11
- Views: 1444
- Tue Oct 30, 2007 10:07 pm
- Forum: Bug reports
- Topic: MacOS X and latest SVN
- Replies: 11
- Views: 1444
Hey Sukko, Just wanted to let you (and e1 else) know that after seeing your post yesterday, I decided to have a go at getting the 1.4 beta code going on MacOSX. I didn't try the latest SVN (I wasn't that brave!) but I do have it compiling now and at least the Demo.app runs (and runs by double-clicki...
- Tue Oct 30, 2007 12:41 pm
- Forum: Beginners Help
- Topic: What is a good FPS value to achieve ?
- Replies: 5
- Views: 618