Search found 743 matches
- Sun Jan 29, 2023 2:23 am
- Forum: Game Programming
- Topic: A game like this
- Replies: 53
- Views: 6898
Re: A game like this
Sometimes, when reading the answers that people give to others, I also tend to be rude. I WANT TO BE RUDE! But I can't because I'm a well educated person. I am a well experienced Illustrator, 3D CG Artist, a painter and a well known writter. I don't need to reconfirm myself for nothing! Try to read...
- Tue Jan 17, 2023 5:41 am
- Forum: 3D Programming
- Topic: how create a Terrain without reliefs and mountains ?
- Replies: 5
- Views: 1122
Re: how create a Terrain without reliefs and mountains ?
Code: Select all
Imported = DefineTerrainTile(0, tx, ty, "terrain513.png", ty % 2, tx % 2)
- Wed Dec 28, 2022 3:32 am
- Forum: 3D Programming
- Topic: Entity Animation
- Replies: 35
- Views: 3721
Re: Entity Animation
It's a bit difficult to say what you're doing wrong without the blend and mesh files to look at. Importing your own animations is possible, but there isn't a good guide on how to. Back when I did it, I used Blender 2.6ish and a blender ogre exporter script (sorry can't remember the name, this was ma...
- Wed Dec 22, 2021 7:16 am
- Forum: 3D Programming
- Topic: Ogre 16bit limit issue
- Replies: 5
- Views: 1625
Re: Ogre 16bit limit issue
Yeah, it's definitely the stencil shadows pushing you over the stencil limit. The more complex the mesh, the more complex the stencil. Back in the day, I would alter the xml files manually, before generating the ogre mesh file. Should just have to change use32bitindexes="false" to "tr...
- Sat Oct 31, 2020 5:02 am
- Forum: 3D Programming
- Topic: Alphablended texture z-index problem
- Replies: 6
- Views: 2500
Re: Alphablended texture z-index problem
Hello, I experimented with this problem a while back. What's happening is your object rendering order is out of whack. When using alpha, objects need to be rendered from farthest to nearest based on your camera's location. Otherwise, when samples are stored in the buffer, they can be missed. Which c...
- Sat Mar 28, 2020 12:35 am
- Forum: 3D Programming
- Topic: 3D Coordinate System
- Replies: 24
- Views: 10564
Re: 3D Coordinate System
As I said in a previous post, that preset is because you are using the fixed function pipeline. You will have a choice if you use more modern OpenGL. Having the team build a 3D engine based around the OpenGL gadget when they already have a functioning 3D engine(Ogre) is pointless. If you really want...
- Fri Mar 27, 2020 5:19 pm
- Forum: 3D Programming
- Topic: 3D Coordinate System
- Replies: 24
- Views: 10564
Re: 3D Coordinate System
Sure you could buy your own tires and it would save you headache and time. In this case though you're not buying tires, you're asking for them. And what you are asking for are 3D engine functions, which is what PB/Ogre is intended for. There's very little reason for them to develop another engine th...
- Tue Mar 24, 2020 8:32 pm
- Forum: 3D Programming
- Topic: 3D Coordinate System
- Replies: 24
- Views: 10564
Re: 3D Coordinate System
That's going into the shader territory. The opengl gadget is just a quicker way to create an opengl context. It doesn't limit you to a specific coordinate system. What will limit you is using opengl's old fixed function pipeline which was right handed(If i remember correctly). Go a little more moder...
- Wed Feb 19, 2020 1:16 am
- Forum: 3D Programming
- Topic: Offset Plane?
- Replies: 4
- Views: 2053
Re: Offset Plane?
You need to get rid of the parenthesis in your procedure because the multiplication of the distance and normal vector has to happen first. Try this. *OffsetPlane\PtV0\x = *OrginalPlane\PtV0\x + dOffset * *OrginalPlane\VecNorm\x *OffsetPlane\PtV0\y = *OrginalPlane\PtV0\y + dOffset * *OrginalPlane\Vec...
- Tue Feb 18, 2020 9:18 pm
- Forum: 3D Programming
- Topic: Offset Plane?
- Replies: 4
- Views: 2053
Re: Offset Plane?
NewPosition = OldPosition + Distance * NormalizedVector
- Mon Dec 16, 2019 7:22 am
- Forum: 3D Programming
- Topic: OpenGL Gadget: How to make mesh edges more defined?
- Replies: 17
- Views: 6748
Re: OpenGL Gadget: How to make mesh edges more defined?
There needs to be optimizations for real time use. Without an acceleration structure (Octrees, BSD trees, K-d trees, etc...) it isn't really usable for real time. Add in multi threading with that and you end up with a very fast system. Even in cases where there are millions of polygons. For vertex p...
- Mon Dec 16, 2019 2:32 am
- Forum: 3D Programming
- Topic: OpenGL Gadget: How to make mesh edges more defined?
- Replies: 17
- Views: 6748
Re: OpenGL Gadget: How to make mesh edges more defined?
I'd go with ray triangle intersection for mouse picking. There are other methods like using a "color" buffer, but I'm not very fond of them because of the lack of speed with glReadPixels(). Ray triangle picking(if optimized properly) is faster and there are more things you can do with it. ...
- Tue Dec 10, 2019 10:07 pm
- Forum: 3D Programming
- Topic: OpenGL Gadget: How to make mesh edges more defined?
- Replies: 17
- Views: 6748
Re: OpenGL Gadget: How to make mesh edges more defined?
I'd personally recommend sticking with glDrawArrays() or glDrawElements(). Using the old glBegin/glEnd commands are not very efficient for the GPU.
I just used them because it was quicker to write that example.
I just used them because it was quicker to write that example.
- Tue Dec 10, 2019 9:00 pm
- Forum: 3D Programming
- Topic: OpenGL Gadget: How to make mesh edges more defined?
- Replies: 17
- Views: 6748
Re: OpenGL Gadget: How to make mesh edges more defined?
Sorry about that, I forgot to LTrim() the string data in the importer. I also updated the ortho matrix and ZoomFactor to better fit your first model. EnableExplicit ;-STRUCTURES Structure Long3 X.l Y.l Z.l EndStructure Structure Vector3 X.f Y.f Z.f EndStructure Structure ObjectData Handle.b VertexCT...
- Tue Dec 10, 2019 3:12 am
- Forum: 3D Programming
- Topic: OpenGL Gadget: How to make mesh edges more defined?
- Replies: 17
- Views: 6748
Re: OpenGL Gadget: How to make mesh edges more defined?
Shaders won't make much of a difference if there is something wrong with the object's data. I'm thinking your file has errors or there might be a mistake in your normal calculations. Because I don't seem to have the same problems with Stl files that you are having. I threw together a simple Stl impo...