Search found 81 matches

by asparagusx
Sun Mar 15, 2009 8:47 am
Forum: Beginners Help
Topic: ZBufferBits
Replies: 5
Views: 534

I have tried all sorts!!!! This is driving me nuts. I have changed near values, far values, even changed the driver to use the ZBIAS, but all to no avail. The problem is made worse by the fact that typically one of the co-incident planes will be transparent - which does not fit well with zbuffering....
by asparagusx
Sun Mar 15, 2009 8:42 am
Forum: Advanced Help
Topic: Drawing order
Replies: 8
Views: 814

I have exactly the same problem! I did some tests re rendering speed in my app and in actual fact it does not really make a difference. Wether you sort on texture or distance does not really matter - the system still needs to go through the sort process - it is just the value that you test on that c...
by asparagusx
Sat Mar 14, 2009 4:00 pm
Forum: Beginners Help
Topic: ZBufferBits
Replies: 5
Views: 534

ZBufferBits

Hallo Is it possible to change the ZBuffer depth using the parameter ZBufferBits when creating a new device? It does appear to be used in some of the device drivers, but does not appear to be used in the DirectX9 device. I am using 1.5. I want to increase the ZBuffer depth, to try and solve some iss...
by asparagusx
Sat Mar 14, 2009 11:38 am
Forum: Advanced Help
Topic: Drawing order
Replies: 8
Views: 814

I have a related problem with drawing order. Looking at the code in drawAll(), solid materials appear to be ordered by material and NOT in back to front order. Transparent materials are. My question - how do I combine 'all' nodes in back to front order. Secondary thought is that rendering might slow...
by asparagusx
Thu Mar 05, 2009 10:12 pm
Forum: Beginners Help
Topic: Giving meshes that "retro" look
Replies: 5
Views: 616

I think what you want is this : http://www.cad-essence.com/genes1s/wireframe.JPG This is a wireframe model of a building. It is not made up of triangles, but you need the 'outlines' of the various objects that define your model and this can achieved by defining the vertices of the objects. I use the...
by asparagusx
Sat Feb 28, 2009 8:15 pm
Forum: Beginners Help
Topic: Light Color Wrong?
Replies: 4
Views: 616

Have you tried setting AmbientColor for the light?
by asparagusx
Sat Feb 28, 2009 8:10 pm
Forum: Beginners Help
Topic: Question about plane3d::getIntersectionWithLine()
Replies: 5
Views: 344

I believe your problem is with using ray.getMiddle(). The ray (line) that is generated from the initial call, is in effect 'infinite' (it does end at the intersection of the far plane of the viewing fustrum. ray.getMiddle() will be somewhere along this vector, which might be 'behind' the plane, that...
by asparagusx
Thu Feb 26, 2009 8:14 pm
Forum: Beginners Help
Topic: how to use sprite for button?
Replies: 8
Views: 857

Are you sure all the textures exist and that the getTexture function is not returning 0 (NULL)?
by asparagusx
Wed Nov 19, 2008 1:01 pm
Forum: Advanced Help
Topic: ITextSceneNode and setSize
Replies: 3
Views: 646

I included CTextSceneNode.h and then used

(CBillboardTextSceneNode *) and that worked - is that going to be a problem?

Anton
by asparagusx
Wed Nov 19, 2008 12:28 pm
Forum: Advanced Help
Topic: ITextSceneNode and setSize
Replies: 3
Views: 646

ITextSceneNode and setSize

Hallo

I create a ITextSceneNode using addBillboardTextSceneNode and I want to change the size of the billboard. How would I go about doing this? I am using 1.4.2. I cast to (IBillboardSceneNode) and try and use setSize but this does not work - any other suggestions?

Thanks

Anton
by asparagusx
Tue Nov 18, 2008 10:36 am
Forum: Beginners Help
Topic: c++ question about Sub procedures
Replies: 4
Views: 243

I also can't see how you are going to change the values in the ang function : int ang(float x,float y, float z, float angle_xz, float angle_yz, float distance) In the code you are changing x,y,z, but they are not declared correclty - you either have to define them as float &x or float *x (as an ...
by asparagusx
Tue Nov 18, 2008 8:26 am
Forum: Beginners Help
Topic: CColladaMeshWriter and Custom Mesh
Replies: 15
Views: 881

Sorry to bump this, but I have not been able to resolve this at all - anybody else having problems creating Collada files?

Thanks

Anton
by asparagusx
Sat Nov 15, 2008 10:08 am
Forum: Advanced Help
Topic: SVN/Trunk 'development notes'
Replies: 4
Views: 520

SVN/Trunk 'development notes'

Hallo Please go gentle with me :oops: . I currently have 2 versions of my app, one based on the released version (1.4.2) and another based on the SVN trunk, which I update on a regular basis. I monitor 'changes.txt' to see what new 'goodies' and/or bug fixes are in the latest trunk version, but sadl...
by asparagusx
Wed Nov 05, 2008 2:15 pm
Forum: Advanced Help
Topic: How to working with two different camera-?
Replies: 3
Views: 487

There is a function setActiveCamera (ISceneManager::setActiveCamera), which takes as a parameter the camera to use (make active). You would define another camera (using addCameraSceneNode) and then set that active using the setActiveCamera call when the user presses 'u'.

Anton
by asparagusx
Wed Nov 05, 2008 8:40 am
Forum: Advanced Help
Topic: Lightmaps
Replies: 8
Views: 705

On the screen shot it appears that you are using the Irrlicht software rendered - would using a hardware acclerated mode (DirectX 9) not help in increasing performance?