BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Building with Dexter

+6
phontanka
MattD6R
Stevegr
jckhinks
graymac
Dexter
10 posters

Page 3 of 3 Previous  1, 2, 3

Go down

Building with Dexter - Page 3 Empty Re: Building with Dexter

Post by MattD6R Thu Sep 14, 2017 12:24 am

I noticed that you did each of faces of the curved surface in separate CreateMeshBuilder sections and was wondering if that was intentional or just to keep it simple for people to follow?

I generally try to combine faces in the same CreateMeshBuilder if I am using the same general lighting, colour and/or texture for these faces. It does make the numbering more complicated but I believe it reduces the load on the sim.

MattD6R

Posts : 264
Join date : 2013-06-16
Location : Brisbane, Australia

Back to top Go down

Building with Dexter - Page 3 Empty Re: Building with Dexter

Post by Dexter Thu Sep 14, 2017 7:19 am

There is a mention about that in the video. :-)
I was forced to do it that way, since when I put it as an all-in-one, it was not rendered correctly (no, it was not a mistake in the code). openBVE renders curved surfaces such as this one and also faces containing non-convex angles incorrectly. Try it and you will see it for yourself. :-)
Dexter
Dexter

Posts : 2153
Join date : 2011-07-08
Age : 38
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Building with Dexter - Page 3 Empty Re: Building with Dexter

Post by MattD6R Thu Sep 14, 2017 2:26 pm

Thanks Dexter, I  hadn't realised that happens. I gave this a try on a object I have been working on. This object has walls that have arches in them so it is similar to your object. I added two additional arches as a test with one done your way with each face in separate CreateMeshBuilder sections and the other done as an all-in-one CreateMeshBuilder. But with both orientated the same direction next to each other they look exactly the same. When I do a all-in-one CreateMeshBuilder I essentially have each vertex that adjoins the next face listed twice. Unless I missed something I don't see this issue. Surprised

MattD6R

Posts : 264
Join date : 2013-06-16
Location : Brisbane, Australia

Back to top Go down

Building with Dexter - Page 3 Empty Re: Building with Dexter

Post by Dexter Wed Sep 27, 2017 6:21 pm

So, here we finally go with the newest video. Smile 

Dexter
Dexter

Posts : 2153
Join date : 2011-07-08
Age : 38
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Building with Dexter - Page 3 Empty Re: Building with Dexter

Post by MattD6R Sun Oct 08, 2017 1:11 am

Thanks, I have watched this last one and I didn't had trouble following your explanations. It can certainly get a bit confusing calculating the texture coordinates and it is easy to make mistakes. When I first started object building understanding the texture coordinates was confusing but with practice it has became easier.

MattD6R

Posts : 264
Join date : 2013-06-16
Location : Brisbane, Australia

Back to top Go down

Building with Dexter - Page 3 Empty Re: Building with Dexter

Post by Sponsored content


Sponsored content


Back to top Go down

Page 3 of 3 Previous  1, 2, 3

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum