3DS Max Texture Question

rover2341

Is riding a roller coaster...Wee!
I have a texture I apply to a plane and works just great. (See Image Support).
When I use this plane (model), in the game I need to be able to set its width and height, and have it keep the images scale according to the width of the plane and repeat going down the plane. I will be creating many of these on the fly and wont know the length and width of this intill the game is running.

Better exampled in Goal Image below.

Any thoughts? Or am i going about this all wrong? I am assuming i can set the length and width of it. I know i can scale it.. If i am going about this wrong, any suggestions on how i should go about this.


More Info:

These Are Support Beams for roller coaster maker. this will handle 0,15,30,45,60,75 pitch angles. and for the non 0 angles will have in additional texture between this and the track.
 

Attachments

Accname

2D-Graphics enthusiast
In OpenGL you can specify that the texture is supposed to repeat itself in either direction when the texture-coordinates are leaving its boundary box.
So one possible solution would be to have the horizontal tex-coords always between [0, 1] and simply scale the vertex positions to stretch it, while the vertical tex-coords will go from [0, height-of-model] with the texture parameter GL_WRAP_T set to GL_REPEAT.

Of course if you do this you can no longer use the texture inside a texture atlas or spritesheet.
 

rover2341

Is riding a roller coaster...Wee!
Ok So the point your getting at is this isnt done in 3DS Max and some how changed in the game. I need to find the tools by the render to handle what I want.

In My Case, WebGL, And Unity. So Ill need to dig into those to see what can be done, and likely something similar to what you proposed be done in openGL.

Thanks Ill give that a shot, currently Focusing on the WebGL with three.js so ill see if I can find a solution like yours.
 

Accname

2D-Graphics enthusiast
Well I dont know if you can do this in 3DS Max too. I never used that tool.
I just know that this is "fairly easy" with openGL so there got to be a way somewhere.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • C Cherry.Grove:
    My one game was basically Among Us but you sabotaged an entire medieval city simulated drastically inefficiently with dynamic NPCs :S
  • C Cherry.Grove:
    of course I never finished it x D
  • jonas jonas:
    xD
  • jonas jonas:
    I think you can still run the original game, just there's a chance your map won't work with the newer patches
  • jonas jonas:
    what development framework have you been looking at for mobile development?
  • jonas jonas:
    I'm currently creating (as a hobby) a space invaders like game for mobile using Xamarin, after starting a few larger projects that I also may not have finished :rolleyes::p
  • The Helper The Helper:
    Awesome! you should look at the Atari VCS platform it does not have a huge user base but the one it has is super active at around 11k and they have no games in there store
  • The Helper The Helper:
    basically it is linux
  • The Helper The Helper:
    OMG it is BanLord as Blackveiled on the forum
  • The Helper The Helper:
    what is up buddy
  • jonas jonas:
    thanks for the tip, that sounds cool. Never heard about the VCS before but seems like it should be a good match
  • tom_mai78101 tom_mai78101:
    The winter vacation left a toll on me. I missed staying up late and sleeping in late.
  • C Cherry.Grove:
    i haven't looked into it yet
  • C Cherry.Grove:
    If I could use something Python compatible it would save me some learning
  • C Cherry.Grove:
    But Unity might be easiest
  • C Cherry.Grove:
    looking at old posts here makes me happy. Makes me be all like "wow I was pretty smart in 2009"
  • C Cherry.Grove:
    mostly failing at life through adulthood really demotivated me for a while
  • C Cherry.Grove:
    ....what I don't get is why the fuck they would force us to permanently convert to a version of the game everyone fucking hated : \
  • C Cherry.Grove:
    Raid Shadow Legends texture pack smh
  • jonas jonas:
    Most people fail at life throughout their adulthood. Sometimes we get to learn from it. Usually it just feels like crap.
    +1
  • The Helper The Helper:
    What does not kill you makes you stronger is what they say
  • C Cherry.Grove:
    for real! :cool:
  • Varine Varine:
    Are we still on the topic of failing? I failed lots!
  • jonas jonas:
    If you ever want to talk about it we're here. The way I see it, you're still around. That required a few very difficult successes if you ask me:)

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top