.FormLC/RC model deformartion
4 posters
Page 1 of 1
.FormLC/RC model deformartion
This has been an issue for a long time that I tried to work my way around with .FREEOBJs and other methods, but I'm starting to need it.
So everyone knows what FormLC/RC is. It's a piece of platform that can stretch to a specified track. This makes placing platforms easier and is also very useful for platforms that vary in width.
But often, models get completely deformed in awkward shapes instead of simply stretching, resulting in this: (Here, I'm using FormLC/RC for the white concrete supports for the platforms that are already coded as .FREEOBJs)
The vertex codings are:
LEFT:
vertex -2.5,0.9,-0.15
vertex -1.6,0.9,-0.15
vertex -1.6,-0.25,-0.15
vertex -2.5,-0.25,-0.15
face 0,1,2,3
RIGHT:
vertex 1.6,0.9,-0.15
vertex 2.5,0.9,-0.15
vertex 2.5,-0.25,-0.15
vertex 1.6,-0.25,-0.15
face 0,1,2,3
Another example, however it is fine with FormLC:
The vertex codings in this case are:
RIGHT:
Vertex 6.15, 1.1, 25
Vertex 6.15, 1.1, 0
Vertex 2.85, 1.1, 0
Vertex 2.85, 1.1, 25
Face 0,1,2,3
LEFT:(Fine)
Vertex -6.15, 1.1, 0
Vertex -6.15, 1.1, 25
Vertex -2.85, 1.1, 25
Vertex -2.85, 1.1, 0
Face 0,1,2,3
Maybe there's no issue with the command itself, but in the way it is modeled? If so, what would be the proper vertex coding that would allow the model to stretch correctly? Thanks!
So everyone knows what FormLC/RC is. It's a piece of platform that can stretch to a specified track. This makes placing platforms easier and is also very useful for platforms that vary in width.
But often, models get completely deformed in awkward shapes instead of simply stretching, resulting in this: (Here, I'm using FormLC/RC for the white concrete supports for the platforms that are already coded as .FREEOBJs)
The vertex codings are:
LEFT:
vertex -2.5,0.9,-0.15
vertex -1.6,0.9,-0.15
vertex -1.6,-0.25,-0.15
vertex -2.5,-0.25,-0.15
face 0,1,2,3
RIGHT:
vertex 1.6,0.9,-0.15
vertex 2.5,0.9,-0.15
vertex 2.5,-0.25,-0.15
vertex 1.6,-0.25,-0.15
face 0,1,2,3
Another example, however it is fine with FormLC:
The vertex codings in this case are:
RIGHT:
Vertex 6.15, 1.1, 25
Vertex 6.15, 1.1, 0
Vertex 2.85, 1.1, 0
Vertex 2.85, 1.1, 25
Face 0,1,2,3
LEFT:(Fine)
Vertex -6.15, 1.1, 0
Vertex -6.15, 1.1, 25
Vertex -2.85, 1.1, 25
Vertex -2.85, 1.1, 0
Face 0,1,2,3
Maybe there's no issue with the command itself, but in the way it is modeled? If so, what would be the proper vertex coding that would allow the model to stretch correctly? Thanks!
1969 St. Louis R-40M- Posts : 33
Join date : 2020-02-07
Midnight Express Ginga81, SP1900 and Rakago like this post
Re: .FormLC/RC model deformartion
So, the glitch is caused by your vertex ordering.
Unfortunately, the FormCR / FormCL stuff is a BVE2 relic, and isn't especially reliable. (As there's no way to build a dynamic transform matrix of this type)
Any part of a deformable objects should be made up of upto 8 verticies, following one of the following clockwise windings:
TopLeft,BottomLeft,BottomRight,TopRight
BottomRight,TopRight,TopLeft,BottomLeft
(This refers to when looking at the object straight on)
I'll do some playing with this and see if I can sort it with vertex sorting, but I'm somewhat wary of that glitching out in more interesting ways....
Unfortunately, the FormCR / FormCL stuff is a BVE2 relic, and isn't especially reliable. (As there's no way to build a dynamic transform matrix of this type)
Any part of a deformable objects should be made up of upto 8 verticies, following one of the following clockwise windings:
TopLeft,BottomLeft,BottomRight,TopRight
BottomRight,TopRight,TopLeft,BottomLeft
(This refers to when looking at the object straight on)
I'll do some playing with this and see if I can sort it with vertex sorting, but I'm somewhat wary of that glitching out in more interesting ways....
SP1900 and 1969 St. Louis R-40M like this post
Re: .FormLC/RC model deformartion
1969 St. Louis R-40M wrote:This has been an issue for a long time that I tried to work my way around with .FREEOBJs and other methods, but I'm starting to need it.
So everyone knows what FormLC/RC is. It's a piece of platform that can stretch to a specified track. This makes placing platforms easier and is also very useful for platforms that vary in width.
But often, models get completely deformed in awkward shapes instead of simply stretching, resulting in this: (Here, I'm using FormLC/RC for the white concrete supports for the platforms that are already coded as .FREEOBJs)
The vertex codings are:
LEFT:
vertex -2.5,0.9,-0.15
vertex -1.6,0.9,-0.15
vertex -1.6,-0.25,-0.15
vertex -2.5,-0.25,-0.15
face 0,1,2,3
RIGHT:
vertex 1.6,0.9,-0.15
vertex 2.5,0.9,-0.15
vertex 2.5,-0.25,-0.15
vertex 1.6,-0.25,-0.15
face 0,1,2,3
Another example, however it is fine with FormLC:
The vertex codings in this case are:
RIGHT:
Vertex 6.15, 1.1, 25
Vertex 6.15, 1.1, 0
Vertex 2.85, 1.1, 0
Vertex 2.85, 1.1, 25
Face 0,1,2,3
LEFT:(Fine)
Vertex -6.15, 1.1, 0
Vertex -6.15, 1.1, 25
Vertex -2.85, 1.1, 25
Vertex -2.85, 1.1, 0
Face 0,1,2,3
Maybe there's no issue with the command itself, but in the way it is modeled? If so, what would be the proper vertex coding that would allow the model to stretch correctly? Thanks!
Leo0- Posts : 1
Join date : 2023-07-13
Re: .FormLC/RC model deformartion
Leo0 wrote:1969 St. Louis R-40M wrote:This has been an issue for a long time that I tried to work my way around with .FREEOBJs and other methods, but I'm starting to need it.
So everyone knows what FormLC/RC is. It's a piece of platform that can stretch to a specified track. This makes placing platforms easier and is also very useful for platforms that vary in width.
But often, models get completely deformed in awkward shapes instead of simply stretching, resulting in this: (Here, I'm using FormLC/RC for the white concrete supports for the platforms that are already coded as .FREEOBJs)
The vertex codings are:
LEFT:
vertex -2.5,0.9,-0.15
vertex -1.6,0.9,-0.15
vertex -1.6,-0.25,-0.15
vertex -2.5,-0.25,-0.15
face 0,1,2,3
RIGHT:
vertex 1.6,0.9,-0.15
vertex 2.5,0.9,-0.15
vertex 2.5,-0.25,-0.15
vertex 1.6,-0.25,-0.15
face 0,1,2,3
Another example, however it is fine with FormLC:
The vertex codings in this case are:
RIGHT:
Vertex 6.15, 1.1, 25
Vertex 6.15, 1.1, 0
Vertex 2.85, 1.1, 0
Vertex 2.85, 1.1, 25
Face 0,1,2,3
LEFT:(Fine)
Vertex -6.15, 1.1, 0
Vertex -6.15, 1.1, 25
Vertex -2.85, 1.1, 25
Vertex -2.85, 1.1, 0
Face 0,1,2,3
Maybe there's no issue with the command itself, but in the way it is modeled? If so, what would be the proper vertex coding that would allow the model to stretch correctly? Thanks!
Was you meant to intentionally write something in response to this quote on the thread?
Northern Line- Posts : 329
Join date : 2011-07-12
Age : 31
Location : London, UK
Similar topics
» The new sound model
» Is there a way to model BVE objsects using Blender?
» Model Railway interest
» HS2 train exterior model livery [community effort]
» Animated Model Plugin: Dynamic Texture Update
» Is there a way to model BVE objsects using Blender?
» Model Railway interest
» HS2 train exterior model livery [community effort]
» Animated Model Plugin: Dynamic Texture Update
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|