Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One face, One Colour, Different dimension, Different Colour
#1
Hi all, here's the attached object Code whereby 1st face (Createmeshbuilder) gives the brightest ("Accurate"?) representation of the Colour specified and subsequent faces are darker. (See image below)

[Image: image-EE2D_50E4DC32.jpg]

Code:
Createmeshbuilder,
AddVertex,1,3,3,
AddVertex,1,3,-3,
AddVertex,1,-3,-3,
AddVertex,1,-3,3,
AddFace2,3,2,1,0,
GenerateNormals,
SetColor,70,125,119

Createmeshbuilder,
AddVertex,-1,3,3,
AddVertex,-1,3,-3,
AddVertex,-1,-3,-3,
AddVertex,-1,-3,3,
AddFace2,3,2,1,0,
GenerateNormals,
SetColor,70,125,119

Createmeshbuilder,
AddVertex,-1,-3,-3,
AddVertex,1,-3,-3,
AddVertex,1,-3,3,
AddVertex,-1,-3,3,
AddFace2,3,2,1,0,
GenerateNormals,
SetColor,70,125,119

Createmeshbuilder,
AddVertex,0,4,-3,
AddVertex,0,4,3,
AddVertex,1,2,3,
AddVertex,1,2,-3,
AddFace2,0,1,2,3,
GenerateNormals,
SetColor,70,125,119

Createmeshbuilder,
AddVertex,0,4,-3,
AddVertex,0,4,3,
AddVertex,-1,2,3,
AddVertex,-1,2,-3,
AddFace2,3,2,1,0,
GenerateNormals,
SetColor,70,125,119


Createmeshbuilder,
AddVertex,-1,2,-3,
AddVertex,-1,2,3,
AddVertex,0,0,3,
AddVertex,0,0,-3,
AddFace2,0,1,2,3,
GenerateNormals,
SetColor,70,125,119


Createmeshbuilder,
AddVertex,0,0,-3,
AddVertex,0,0,3,
AddVertex,1,2,3,
AddVertex,1,2,-3,
AddFace2,0,1,2,3,
GenerateNormals,
SetColor,70,125,119

This question is asked for construction of hand grisp in C651

[Image: image-22FC_50E4DD14.jpg]

PS: The green colour on the background serves as a guide line of the roof / floor in the real car and the far away white colour is ObjectViewer's background colour.
[-] The following 2 users Like Samuel Lee's post:
  • TIB1138M, TIB1219M
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)