• Blurring the line between real and virtual motorsports
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating SObjects, tutorial needed

Discussion in 'Bob's Track Builder' started by GTAce, Jul 18, 2014.

  1. Hey guys,

    I searched for it and haven't found anything helpful.
    Does someone have a good tutorial on how to create proper SObjects?
    I tried it a couple of times already, but the objects don't really line up.
    At best something concering SketchUp.
  2. Richard Hessels

    Richard Hessels
    Premium Member

    Do you have a example of the SObjects you want to join?
    It's mostly the shape that makes it difficult.
  3. I haven't created anything yet (I deleted the stuff I tested in the past).
    Would like to make some tirewalls etc. and the XPacks available aren't an option.
  4. Richard Hessels

    Richard Hessels
    Premium Member

    tirewalls come standard as SObject in Bobs.. just make new textures for them.

    for making a tirewall shape in sketchup.
    start with a flat square, put the texture on it.
    but on the white bottom side.
    Never put textures on the blue side of a shape, than it's inside out.
    group that square.
    than divide the square in say 8 equal vertical line.
    Sketchup will always find the absolute middle of a shape.
    So start with the middle.. and keep dividing.
    fold the parts 45 degrees each.. so you end up with a 8 sides cylinder.
    close the top put the top and the top texture on it.
    Now you have a perfectly aligned texture wrapped around it.
    than export it to DAE or 3DS.
    import that to the Xpacker.
    take the standard tirewall from bobs.. and replace the object with your own.

    Last edited: Jul 18, 2014
  5. Thanks for that (although it might be quicker to just use the circle tool with 8 sides ;)). But what about more complex objects? Not talking about creating them in SketchUp, but rather how I pack them as an SObject, that perfectly aligns.

    There's no tirewall in BTB the way I need it by the way.
  6. Richard Hessels

    Richard Hessels
    Premium Member

    Try getting your texture right on a round shape.. that takes much longer than folding it up in 20 seconds..

    You actually should be carefull with complex sobjects, they tend to crash easely.
    What kind of complexity is it?
    A lightpole? or a gaurdrail?


    What kind of special tirewall would you want to build?
    Last edited: Jul 19, 2014
  7. Nope, got that already. Thanks though!

    Eh, the shape looks exactly the same as in your pictures when doing it with the circle tool, but never mind, that's basically off-topic.
    Something like pit-properties, garages, pit-controls, guard rails that kind of stuff. I have some XPacks with similar objects, but I want to make my own.
    These Packs prove it's possible, but how?

    Something like this for example (I know the deformation is not possible):
    I could lay simple tire barriers and add walls, but the walls have those ugly open endings, although if no one can tell me how to make an SObject, this will most likely the way I'll do it.
    Last edited: Jul 19, 2014
  8. ebrich

    Premium Member

    • Beer Beer x 2
  9. For Pinevale I used walls and applied this wall capping technique:

    The walls are therefore very simple (L shaped cross section) with an extremely stong bump map to make the tyres look 3D.

    Then ends are a little messy but few people will notice because most of us try to avoid getting that close to barriers.

    However, I did use 3DSimed to export them as 3ds objects, and I tidied them up in Blender.
    • Beer Beer x 2
  10. Thanks guys, good stuff, will try out the above tutorial and see if it works.
    That wall capping is actually something I used already on my Petersberg track, can lead to some ugly clipping though. Good to know I'm not the only one who thought about doing that. :D
  11. Richard Hessels

    Richard Hessels
    Premium Member

    the tirewall you show would be made up of 5 rows of tirewall SObject, and a wall object in front.
    very easy to do with the current set provided in bobs.

    still here is how you make a sobject.

    go to the xpacker,
    make new xpack
    import your 3d objects front-middle-end -
    or just middle if there is no beginning or end, than that does not matter
    than go the string object tab.
    add the 3D shape with the + icon at the pieces tab.
    you can put multiple objects in a piece.
    than save your xpack, and you should be ready to go.

    i found all this out watching tutorials on YouTube and just investing some time in it. All is as logical as it can be as soon as you work enough with it..

    Good luck with it.
    • Like Like x 1
  12. I think it's too messy to have actual tyre stacks, especially 5 rows deep. There will be lots of triangles that have to be rendered which the player will never see.
  13. Richard Hessels

    Richard Hessels
    Premium Member

    I agree..
    The rear tyre stacks could be of a lesser resolution.
    Or just one shape, with the 3 tyres from above on top.
  14. Yeah, I didn't want to model everything with fine detail. ;)
    Although, I will have a higher detail than most rFactor tracks, because this project is for Assetto Corsa.

    I could work with the above tips, not perfect (couldn't get my test guardrail to curve correctly), but it's much better than no SObjects at all.
  15. Richard Hessels

    Richard Hessels
    Premium Member

    for nicely curved guardrails i would advice to make them as a wall object.. and the poles behind it as SObject.
    Than you can even use proper lod settings..
    From the other side of the track it's not necessary to see the poles beind the the guardrail. only when you are close enough you want to see them.
  16. You can have a curved SObject if the components have sufficiently short polys.
    E.g. this is fine for my purposes:

    If I wanted a very smooth curve (e.g. for a very tight hairpin) I'd subdivide the horizontal edges to get this:
    • Like Like x 1