Search found 106 matches

by UncleBob
Sun Jun 07, 2015 6:05 pm
Forum: Beginners Help
Topic: Making a scenenode unaffected by lights?
Replies: 2
Views: 665

Re: Making a scenenode unaffected by lights?

Of course, vertex color. Completely forgott that was around too :lol:

Thanks, worked like a charm!
by UncleBob
Sun Jun 07, 2015 10:59 am
Forum: Beginners Help
Topic: Making a scenenode unaffected by lights?
Replies: 2
Views: 665

Making a scenenode unaffected by lights?

I'm having some scenenodes in my scenes that are actually part of the interface, not real objects. They have an emissive color, but now that I added a lightsource they start reflecting its light, which I don't want to happen. They should not look like actually existing objects in the scene. I tried ...
by UncleBob
Fri May 29, 2015 10:16 pm
Forum: Beginners Help
Topic: Set tranformation matrix to scene node?
Replies: 9
Views: 1593

Re: Set tranformation matrix to scene node?

And suddenly, things start falling into place! :lol:

Thanks a lot!
by UncleBob
Fri May 29, 2015 5:47 pm
Forum: Beginners Help
Topic: Set tranformation matrix to scene node?
Replies: 9
Views: 1593

Re: Set tranformation matrix to scene node?

Thanks! In that case, there must be some fundamental misconception in how I'm applying my matrices... here's what I'm trying to do: I have different points on a scenenode that have a facing direction and an up vector. I use matrix.buildCameraLookAtMatrixLH to build a transformation matrix for them r...
by UncleBob
Thu May 28, 2015 10:22 pm
Forum: Beginners Help
Topic: Set tranformation matrix to scene node?
Replies: 9
Views: 1593

Re: Set tranformation matrix to scene node?

Hmmmyeah, I realised myself after thinking about it that the question was a bit strange and that a normal scene node doesn't really need an alignement... Except for mine, because they're used to define orientations. So let's ask a bit differently: What's the default orientation of a CameraSceneNode?...
by UncleBob
Thu May 28, 2015 5:57 pm
Forum: Beginners Help
Topic: Set tranformation matrix to scene node?
Replies: 9
Views: 1593

Re: Set tranformation matrix to scene node?

This isn't exactly related to the original question, but not worth its own thread, so I'm putting it in here while this one's still fresh: What's the default alignement of an ISceneNode after creation (a scenenode with a rotation of (0,0,0))? I assumed it's facing Z+ and has the up-direction along Y...
by UncleBob
Tue May 26, 2015 10:31 pm
Forum: Beginners Help
Topic: Set tranformation matrix to scene node?
Replies: 9
Views: 1593

Re: Set tranformation matrix to scene node?

Hmmm yes, that seems to work. Thanks a lot!
by UncleBob
Tue May 26, 2015 8:38 pm
Forum: Beginners Help
Topic: Set tranformation matrix to scene node?
Replies: 9
Views: 1593

Set tranformation matrix to scene node?

Hello, I'm a bit stuck with a little problem. I have a SceneNode, and under certain circumstances, another SceneNode has to dock with that node. That means it has to be brought into an appropriate position facing the other Node. I planned to do this in three steps: -Get the global transformation mat...
by UncleBob
Tue Sep 09, 2014 11:50 am
Forum: Beginners Help
Topic: Making a textscenenode clip?
Replies: 5
Views: 404

Re: Making a textscenenode clip?

Solved the problem with a rough approximation based on distances between camera, marker and planet position in the end. Works decently and doesn't harm performance. Thanks for the replies anyways.
by UncleBob
Tue Sep 09, 2014 7:13 am
Forum: Beginners Help
Topic: Making a textscenenode clip?
Replies: 5
Views: 404

Re: Making a textscenenode clip?

Hmmm... seems to involve shader programming and stuff, which I've never done. I really didn't think those surface markers would pose such a problem...
by UncleBob
Mon Sep 08, 2014 8:04 pm
Forum: Beginners Help
Topic: Making a textscenenode clip?
Replies: 5
Views: 404

Re: Making a textscenenode clip?

The text never ever changes, so that shouldn't be a problem. Just... what are point sprites?
by UncleBob
Mon Sep 08, 2014 1:38 pm
Forum: Beginners Help
Topic: Making a textscenenode clip?
Replies: 5
Views: 404

Making a textscenenode clip?

Well, clipping might be a bit much to say, really. I'm having a planet, and now I want to draw some surface markers and labels on it. I don't want to do this with billboards, because they'll be much too large when zoomed in, or much too small when zoomed out. ITextSceneNode seemed pretty much what I...
by UncleBob
Sat Mar 08, 2014 10:27 pm
Forum: Advanced Help
Topic: render to texture offscreen?
Replies: 4
Views: 746

Re: render to texture offscreen?

:oops:

Only now I realise what the switch of render target really means in the tutorial... so the whole scene is effectively rendered to the texture instead of on the screen, and then another time on the screen. Somehow that passed me by completely.

Thanks a lot to both of you!
by UncleBob
Sat Mar 08, 2014 6:26 pm
Forum: Advanced Help
Topic: render to texture offscreen?
Replies: 4
Views: 746

Re: render to texture offscreen?

Sorry, I was inprecise. What I mean is rendering a mesh to a texture without even the mesh being visible in the scene.
by UncleBob
Sat Mar 08, 2014 12:28 pm
Forum: Advanced Help
Topic: render to texture offscreen?
Replies: 4
Views: 746

render to texture offscreen?

For something akin to a meshviewer, I want to render a preview pic of the meshes. Render to texture seems just the thing for that, but the tutorial only deals with rendering stuff present in the scene to texture. Is it somehow possible to do this offscreen, without having the meshes on the screen fi...