Hi slavik262
the second case is what i need,thank you very much!
Search found 55 matches
- Fri Nov 05, 2010 6:18 am
- Forum: Beginners Help
- Topic: scene node visible
- Replies: 2
- Views: 243
- Fri Nov 05, 2010 3:03 am
- Forum: Beginners Help
- Topic: scene node visible
- Replies: 2
- Views: 243
scene node visible
Hi,
someone can tell me how can i know if a scene node is visible before draw the scene?it's very important for me!
thx
someone can tell me how can i know if a scene node is visible before draw the scene?it's very important for me!
thx
- Mon Oct 11, 2010 1:28 am
- Forum: Beginners Help
- Topic: sphere mapping artifacts
- Replies: 2
- Views: 430
sphere mapping artifacts
Hi all, I've tried to use EMT_SPHERE_MAP material,my model is a teapot,texture is given by irrlicht/media/spheremap.jpg,driver is ogl.But the effect is very bad.I'd like to know if i've made some errors?Anything else to do to use sphere mapping except to assign the material type. http://img259.image...
- Thu Sep 30, 2010 3:13 am
- Forum: Beginners Help
- Topic: setNearValue artifacts
- Replies: 0
- Views: 461
setNearValue artifacts
Hello everyone, i've construct a big scene,for some special reasons,i need to modify the near value of camera.but i find it doesn't work like what i expect. This is my experiment: set camera position: -21690.0f, 3000.0f, -25938.0f set camera target :-21690.0f, 1.0000f, -25938.0f there is a plane loc...
- Sat Sep 25, 2010 2:21 am
- Forum: Beginners Help
- Topic: Could not load mesh, because file could not be opened.
- Replies: 1
- Views: 1342
Could not load mesh, because file could not be opened.
It's a very strange problem. When i load my scene graph exported by irrEdit,named "a.irr",it always gave the error" Could not load mesh, because file could not be opened: : boundingbox.obj " I'm sure there are no path problems,what's the reason? BTW,if only custom scene nodes by ...
- Sun Sep 05, 2010 1:39 am
- Forum: Beginners Help
- Topic: RTT artifacts by setting near clipping value
- Replies: 3
- Views: 331
Uppload your images somewhere else like imageshack.us those links don't even work when I copy,paste them. Oh,yes this time i upload the images to flickr,i hope you can see them. http://www.flickr.com/photos/53644207@N07/4958267727/in/photostream/ http://www.flickr.com/photos/53644207@N07/4958267783...
- Sat Sep 04, 2010 1:39 pm
- Forum: Beginners Help
- Topic: RTT artifacts by setting near clipping value
- Replies: 3
- Views: 331
- Sat Sep 04, 2010 1:32 pm
- Forum: Beginners Help
- Topic: RTT artifacts by setting near clipping value
- Replies: 3
- Views: 331
RTT artifacts by setting near clipping value
Hello, My question is about setNearValue() function.My scene is very large,so distances between objects is a bit far.When i use RTT(render to texture) effects,sometimes i must put carmera far away from viewport,so i should set a larger Znear value,using camera->setNearValue(),then artifacts arised....
- Tue Aug 24, 2010 11:16 am
- Forum: Beginners Help
- Topic: shader uniform array initialization
- Replies: 2
- Views: 369
- Tue Aug 24, 2010 7:20 am
- Forum: Beginners Help
- Topic: shader uniform array initialization
- Replies: 2
- Views: 369
shader uniform array initialization
In my shader,uniform array like this was used: uniform vec4 WaveData[5]; i found irrlicht can not initialize this array,just only vector waveData[0] could be set using:setVertexShaderConstant() function. so in my opinion,i must declare like: uniform matrix4 waveData1; uniform vector4 waveData2; hope...
- Thu Aug 19, 2010 2:24 am
- Forum: Beginners Help
- Topic: maybe it's a bug : trans_alphach artifacts
- Replies: 1
- Views: 203
- Thu Aug 19, 2010 1:48 am
- Forum: Beginners Help
- Topic: maybe it's a bug : trans_alphach artifacts
- Replies: 1
- Views: 203
maybe it's a bug : trans_alphach artifacts
Hello folks, i's using irrlicht to build my scene,for trees models there's one artifact.The tree trunks are solid and the leaves are defined as "trans_alphach" type,and the textures for leaves are tga format which support alpha chanal transparence.The artifact is that we could see other t...
- Thu Jul 08, 2010 2:24 am
- Forum: Beginners Help
- Topic: shader struct uniform setting
- Replies: 0
- Views: 447
shader struct uniform setting
Hello, In shader language i don't know how to pass variables to struct uniform,please look the codes below,color messages can not be passed to Lighting struct.Anyone knows how to make it working? Thank you! pixel shader: struct Lighting { float R; float G; float B; }; uniform Lighting L; void main(...
- Fri Jun 11, 2010 12:35 am
- Forum: Beginners Help
- Topic: FPS display error
- Replies: 6
- Views: 559
- Thu Jun 10, 2010 11:24 am
- Forum: Beginners Help
- Topic: FPS display error
- Replies: 6
- Views: 559