Search found 32 matches

by Spinland
Thu Aug 19, 2010 1:55 pm
Forum: Beginners Help
Topic: Placing 3D "line" based on end points?
Replies: 14
Views: 836

Placing 3D "line" based on end points?

I've read via forum searches that just drawing a line doesn't give control over the line thickness in this release, and that you have to re-draw the line every display cycle. Given that, I want to depict edges connecting nodes of a 3D graph, and have concluded creating them with geometry seems the b...
by Spinland
Wed Aug 18, 2010 3:42 pm
Forum: Beginners Help
Topic: Applying a MeshManipulator to an ISceneNode?
Replies: 2
Views: 396

Indeed, it's type ESNT_CUBE and I was able to cast it with no problems.

Thanks again! 8)
by Spinland
Tue Aug 17, 2010 6:15 pm
Forum: Beginners Help
Topic: Applying a MeshManipulator to an ISceneNode?
Replies: 2
Views: 396

Applying a MeshManipulator to an ISceneNode?

Apologies in advance for my confusion, but I'm stuck and it feels like I'm going over the same examples and just not getting it. Let's say I create a node in this manner: const SColor YELLOW = SColor(255, 255, 255, 0); ISceneManager *smgr = device->getSceneManager(); IMeshSceneNode* node=NULL; node ...
by Spinland
Tue Aug 17, 2010 1:03 pm
Forum: Beginners Help
Topic: Trying to color a node created with an SMeshBuffer?
Replies: 7
Views: 430

And even more thanks! As you deduced, I'd overlooked the manipulator functions. Fixed. :oops:
by Spinland
Mon Aug 16, 2010 5:15 pm
Forum: Beginners Help
Topic: Trying to color a node created with an SMeshBuffer?
Replies: 7
Views: 430

Many thanks to both of you. Thanks to your suggestions I have the test code working great now. Very much appreciated! 8)
by Spinland
Mon Aug 16, 2010 4:24 pm
Forum: Beginners Help
Topic: Trying to color a node created with an SMeshBuffer?
Replies: 7
Views: 430

... but is the code (which is very rough--and simple--test code to try to make this work, it wasn't intended to be "pretty") itself incorrect? It's based on Tutorial 23.

Thanks again!
by Spinland
Mon Aug 16, 2010 3:27 pm
Forum: Beginners Help
Topic: Trying to color a node created with an SMeshBuffer?
Replies: 7
Views: 430

Trying to color a node created with an SMeshBuffer?

I'm trying to draw a basic box centered on the origin and then color it yellow, using an SMesh instead of reading the data in from a file. I have it mostly working, but for some reason I can't get the color to appear as anything but black. I have added a pair of lights between the node and the camer...
by Spinland
Wed Jul 21, 2010 2:55 pm
Forum: Beginners Help
Topic: [SOLVED] Relenquish FPS Camera's hold on mouse movements?
Replies: 2
Views: 595

Thanks! I actually just came back here to report that I'd successfully added a "vanilla" camera and a key command to swap between them and that works perfectly. When it's swapped out the view stays where it was and all does just as I wanted. Yay! Then I see your much simpler solution and I...
by Spinland
Wed Jul 21, 2010 2:11 pm
Forum: Beginners Help
Topic: [SOLVED] Relenquish FPS Camera's hold on mouse movements?
Replies: 2
Views: 595

[SOLVED] Relenquish FPS Camera's hold on mouse movements?

I'm using a modified FPS Camera to move around and examine meshes of interest in the Irrlicht environment. I've noted that while the app is running the mouse is completely bound to the camera aiming function; even when I control-tab away from the app the mouse cursor won't leave the boundaries of th...
by Spinland
Mon Jul 12, 2010 5:17 pm
Forum: Beginners Help
Topic: [SOLVED] Questions related to modifying the stock FPS camera
Replies: 2
Views: 327

Thanks, that's a big help. I've implemented that change, and most (if not all) of my issues cleared right up. So much for needing a whole thread! :lol: There's one more small thing but I might know how to handle it already. If I turn out to run into a brick wall I'll follow up here with any question...
by Spinland
Mon Jul 12, 2010 2:19 pm
Forum: Beginners Help
Topic: [SOLVED] Questions related to modifying the stock FPS camera
Replies: 2
Views: 327

[SOLVED] Questions related to modifying the stock FPS camera

Hi again! I'm working to modify the FPS camera to include vertical movement, and am having mixed results. I figured I'd start a question thread and run through the issues I'm having in the hopes not only of getting things ironed out but of learning something in the process. 8) First, I needed a coup...
by Spinland
Thu Jun 24, 2010 6:39 pm
Forum: Beginners Help
Topic: Unsuccessful attempt to use ambient lighting in OpenGL
Replies: 6
Views: 590

Okay, I officially feel silly now. The answer was in the "Movement" tutorial code. Without dynamic lighting you actually have to do the opposite of what I tried above: node1->setMaterialFlag(EMF_LIGHTING, false); Otherwise the mesh on node1 is rendered in black. Hopefully this will help so...
by Spinland
Thu Jun 24, 2010 3:28 pm
Forum: Beginners Help
Topic: Unsuccessful attempt to use ambient lighting in OpenGL
Replies: 6
Views: 590

Hmm. Thanks, but that didn't seem to make any difference. Puzzling. I can get the color to show if I throw an explicit light into the scene with addLightSceneNode(), but it's shadowed and has to be placed and the size set. I'm just trying to get a universal, even lighting across all the surfaces of ...
by Spinland
Thu Jun 24, 2010 3:06 pm
Forum: Beginners Help
Topic: Unsuccessful attempt to use ambient lighting in OpenGL
Replies: 6
Views: 590

Unsuccessful attempt to use ambient lighting in OpenGL

I have a simple .obj mesh whose material color is defined as yellow on the .mtl file. I've brought it into Irrlicht using the OpenGL option. I've then added ambient lighting as follows: smgr->setAmbientLight(video::SColorf(1.0f,1.0f,1.0f)); My understanding was the object would be lit by white ambie...
by Spinland
Wed Jun 16, 2010 1:58 pm
Forum: Beginners Help
Topic: Mac (64-bit) 10.6 issues
Replies: 7
Views: 1273

You're the man! Very simple change in the device creation statement and it's running like a champ.

Thank you! 8)