Search found 25 matches
- Sun Dec 23, 2007 11:47 pm
- Forum: Beginners Help
- Topic: Two things
- Replies: 5
- Views: 306
Mesh m = new Mesh(); MeshBuffer mb = new MeshBuffer(VertexType.Standard); Vector3D vec; vec = new Vector3D(0, 0, 0); mb.SetVertex(0, new Vertex3D(vec, vec.Normalize(), Color.White, new Vector2D(0, 0))); vec = new Vector3D(1, 0, 0); mb.SetVertex(0, new Vertex3D(vec, vec.Normalize(), Color.White, new ...
- Sun Dec 23, 2007 5:16 am
- Forum: Beginners Help
- Topic: Two things
- Replies: 5
- Views: 306
Two things
[ First : I searched for this first one.. ] How do I create custom meshes?(I assume these are called meshes) in OpenGL would be done glBegin(); - glEnd();(assume you can fill in the rest) Any information? [ Second ] I was thinking of also making a custom camera, the camera stares constantly at an ob...
- Wed Dec 13, 2006 12:04 am
- Forum: Beginners Help
- Topic: Some water rendering help..
- Replies: 7
- Views: 530
- Tue Dec 12, 2006 10:55 pm
- Forum: Beginners Help
- Topic: Some water rendering help..
- Replies: 7
- Views: 530
- Tue Dec 12, 2006 10:50 pm
- Forum: Beginners Help
- Topic: Some water rendering help..
- Replies: 7
- Views: 530
Sorry for the double post, but I got it, it was 0 :P although the shader still dont look right.. but ill figure it out ;_; [ Edit ] What do I need to do, to have the water reflect everything in the world? Sky, Hegihtmap, Models, Shadows perhaps... does anyone know? o.o the c++ shader code looks real...
- Tue Dec 12, 2006 10:46 pm
- Forum: Beginners Help
- Topic: Some water rendering help..
- Replies: 7
- Views: 530
I am not using that class though, cause the water shader they made, compiles fine, but I see no animation, its just a polygon, and the shader I dont think is showing correctly either when I use it.. so I just made a ater node, and planned on adding the shader to it, im not using the class in my proj...
- Tue Dec 12, 2006 10:40 pm
- Forum: Beginners Help
- Topic: Some water rendering help..
- Replies: 7
- Views: 530
Some water rendering help..
I got this code from another code(the water shading class) s32 dmat = irr::video::EMT_SOLID; dmat = gpu->addHighLevelShaderMaterial(WATER_VERTEX_GLSL, "main", video::EVST_VS_1_1, WATER_FRAGMENT_GLSL, "main", video::EPST_PS_1_1, this , video::EMT_TRANSPARENT_ALPHA_CHANNEL, 0); wat...
- Tue Dec 12, 2006 6:46 am
- Forum: Code Snippets
- Topic: [C++] PerPixelLighting with reflective water
- Replies: 21
- Views: 11092
- Tue Dec 12, 2006 12:52 am
- Forum: Beginners Help
- Topic: Help with IPhysics
- Replies: 12
- Views: 753
~If your using Dev C++ Are the include folder files in the compilers include folder or not? If not you have to include them manually with Project Options->Directories->Include Directories then add the folder the IPhysics include files are in to it. Also, you may wanna put IPhysics at top, of the inc...
- Mon Dec 11, 2006 2:46 pm
- Forum: Beginners Help
- Topic: Need some more help.. not sure what the problem is..
- Replies: 5
- Views: 428
- Mon Dec 11, 2006 2:44 pm
- Forum: Code Snippets
- Topic: Smooth mixed 1st + 3rd Person Camera Scene Node (for RPG)
- Replies: 158
- Views: 59796
- Mon Dec 11, 2006 4:45 am
- Forum: Beginners Help
- Topic: Need some more help.. not sure what the problem is..
- Replies: 5
- Views: 428
- Mon Dec 11, 2006 12:04 am
- Forum: Code Snippets
- Topic: Smooth mixed 1st + 3rd Person Camera Scene Node (for RPG)
- Replies: 158
- Views: 59796
Trying to get it to work in Dev C++ I added everything to the project of mine, embedded correctly(positive), although im getting this error.. 264 C:\Documents and Settings\Administrator\Desktop\SquareSoft\CCameraSceneNode.cpp `ViewArea' undeclared (first use this function) wich im guessing means im ...
- Sun Dec 10, 2006 10:56 pm
- Forum: Beginners Help
- Topic: Is it possible to have the water node on terrain?
- Replies: 5
- Views: 427
- Sun Dec 10, 2006 10:44 pm
- Forum: Beginners Help
- Topic: Is it possible to have the water node on terrain?
- Replies: 5
- Views: 427