Removed
Removed
- dark_sylinc
- OGRE Team Member
- Posts: 5299
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1280
- Contact:
Re: Is there an spline mesh deformation thing in Ogre 2?
Checkout SimpleSpline in OgreSimpleSpline.h (and RotationalSpline if needed).
This code hasn't been touched since 1.x and in a long time; so most articles in the Wiki should be useful.
This code hasn't been touched since 1.x and in a long time; so most articles in the Wiki should be useful.
-
- OGRE Team Member
- Posts: 1995
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1075
- Contact:
-
- OGRE Expert User
- Posts: 1148
- Joined: Sat Jul 06, 2013 10:59 pm
- Location: Chile
- x 168
Re: Is there an spline mesh deformation thing in Ogre 2?
I haven't used it but I guess the Extrusion sample might be the one you need:
https://github.com/OGRECave/ogre-proced ... rusion.cpp
btw, no idea if this is already ported to 2.1
https://github.com/OGRECave/ogre-proced ... rusion.cpp
btw, no idea if this is already ported to 2.1
-
- OGRE Expert User
- Posts: 1148
- Joined: Sat Jul 06, 2013 10:59 pm
- Location: Chile
- x 168
Re: Is there an spline mesh deformation thing in Ogre 2?
aparently al2950 have done some porting work: viewtopic.php?t=83727#p518997
-
- OGRE Expert User
- Posts: 1148
- Joined: Sat Jul 06, 2013 10:59 pm
- Location: Chile
- x 168
Re: Is there an spline mesh deformation thing in Ogre 2?
I haven't used it, but by the name I asume it extrudes, in other words neither of both cases, you need a shape/profile and a path
http://www.cadalyst.com/files/cadalyst/ ... onfig2.jpg
look closely at the code and you might understand a bit more what it does
- TaaTT4
- OGRE Contributor
- Posts: 267
- Joined: Wed Apr 23, 2014 3:49 pm
- Location: Bologna, Italy
- x 75
- Contact:
Re: Is there an spline mesh deformation thing in Ogre 2?
Our game Racecraft uses OGRE Procedural for tracks generation.timl132 wrote: ↑Mon Apr 02, 2018 5:19 pmThanks!dark_sylinc wrote: ↑Mon Apr 02, 2018 4:55 pm Checkout SimpleSpline in OgreSimpleSpline.h (and RotationalSpline if needed).
This code hasn't been touched since 1.x and in a long time; so most articles in the Wiki should be useful.
But what about spline mesh deformation for roads and such?
Is there something for that?
So, I would definitely say that you can use it for roads
Senior programmer at 505 Games; former senior engine programmer at Sandbox Games
Worked on: Racecraft Esport — Racecraft Coin-Op, Victory: The Age of Racing