Vertex colours?  1-20  21-35

Next
 From:  keith1961
8623.1 
A quick question... Are the colours produced by Moi Vertex Colours? (Actually I'm not even sure this is a proper question) I'm asking because Moi seems to be the ultimate modeler for this competition https://blog.sketchfab.com/real-time-design-challenge-medieval-fantasy/
BW
Keith
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8623.2 In reply to 8623.1 

EDITED: 11 Oct by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8623.3 In reply to 8623.1 
Hi Keith,

> Are the colours produced by Moi Vertex Colours?

Yeah I guess so - usually that term would be referring to a technique used by GPU rendering, not really data transfer formats. But I guess it could depend on the context of where it's used though. I couldn't find a mention on that page of "Vertex Colors" but my best guess would be that it's about a rendering material made up of a simple color value rather than having a texture map on it. If that's the case then yes the materials that MoI exports for OBJ and LWO formats are simple color materials and don't use texture mapping.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  keith1961
8623.4 In reply to 8623.3 
Thanks Michael
Moi is excellent for making low poly props of the type they are looking for. With the RAL CLASSIC Colour Collection that Marco posted its easy to colour them in too. I dont expect to win a prize but I will make a nice model village.



Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8623.5 In reply to 8623.4 
Looks good keith!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
8623.6 In reply to 8623.4 
Hello Keith,

maybe intersting to understand vertex Colors:
http://math.hws.edu/graphicsbook/c3/s1.html
You don't need to read all, only scroll down to the colored triangle. The Colors are given only at the verticies - the shaders or programs interpolates between them.
The Wavefront files supports the same concept:
http://www.martinreddy.net/gfx/3d/OBJ.spec

MoI seems to write only General Colors/Materials in Object/Wavfront Files- so you have to Export to another Programm to use this Feature.

Have a nice day
Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8623.7 In reply to 8623.4 
Hi keith1961.

Very nice job! Thanks for sharing.

Ciao.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8623.8 In reply to 8623.6 
Hi Karsten,

> The Wavefront files supports the same concept:
> http://www.martinreddy.net/gfx/3d/OBJ.spec
>
> MoI seems to write only General Colors/Materials in Object/Wavfront Files- so you have to Export to another Programm to use this Feature.

Do you have an example of an .obj file that has separate per-vertex colors set up in it? I thought that setting a material was the only officially spec'd way in .obj files to specify colors.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  futagoza (STEFAN)
8623.9 In reply to 8623.8 
Hi Michael,

Shade 3D, ZBrush and 3DCoat, for example, have vertex color support. And Render Engines like
Marmoset Toolbag (or meshlab) for example can handle these, when tickening a box.

In case Karsten can not post a sample i will do this evening.

Best regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8623.10 In reply to 8623.8 
Hi Michael, Karsten and futagoza.

I don't think that Obj format is suited for handle vertex color data.

I think PLY format will do.

This a simple vertex colored sphere that I've done in 3D-Coat and painted then exported in PLY format : http://take.ms/F15Lh

This is the 3D-Coat screen capture :



And this is the same sphere imported into Blender with material that read the vertex color data :



Ho this can help.

Ciao!

Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  futagoza (STEFAN)
8623.11 In reply to 8623.10 
Hi Marco,

sure it can! It is only handled differently from app to app with vertex colors in the obj
format, because it is not a standard, yet.

I do this all the time with .obj and vertex colors with meshlab baking to get vertex
colors from an obj into Maxwell Render, as textures. ;-)

Best regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  futagoza (STEFAN)
8623.12 In reply to 8623.11 
P.S. simply export your colored sphere from 3DCoat as .obj and import it into Meshlab
and you should see the vertex colors in Meshlab.

Regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8623.13 In reply to 8623.11 
Ok Michael.

@You : "...because it is not a standard, yet...."

Thanks a lot for the info. I didn't know.

@You ; "...obj and vertex colors with meshlab baking to get vertex colors from an obj into Maxwell Render, as textures..."

Interesting....I will try to do the same in order to use this vertex color data into TheaRender.

Thanks.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8623.14 In reply to 8623.12 
Thanks futagoza!

I will try.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8623.15 In reply to 8623.12 
I apologize fugatoza.....

In my previous message I replied to Michael but the response was from you....

My mistake.

Thanks for the info !

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
8623.16 In reply to 8623.8 
Hello Michael,

I'm not familar with obj-files. A while ago I read the posted document without interest in coloring, only by the way I saw something about vertex Colors.
It seems, that it is used in connection with textures. Nevertheless I painted a face of a cube in Meshlab. I can't decide if there is a difference in the structure of both files.
Test.obj -> Export from MoI
Test2.obj -> Import Meshlab - painting -Export

Have a nice day
Karsten
p.s.: Forgot the Material

EDITED: 12 Oct by KMRQUS


  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8623.17 In reply to 8623.11 
Hi Stefan, from what I can see those .obj files with vertex colors are not adhering to the .obj spec, they're using a custom variant.

Basically they're not "official" .obj files since they are putting in extra stuff that's not mentioned in the spec. It's possible that could cause problems with programs that are expecting that the contents of the file should follow what the spec says. But I guess that's why it's something that you have to specifically turn on.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
8623.18 
Damned! What I have done with this comment! While I wrote some lines - a Experts battle:-) I only want to explain the concept - sorry for that ...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8623.19 In reply to 8623.16 
Hi Karsten, thanks for posting the file. So yes your test2.obj file doesn't adhere to the spec you linked to above - according to the spec a "v" line specifying a geometric vertex can have x y z and optionally a w value for curves.

Your test2.obj file has x y z r g b values for each vertex, but that isn't mentioned anywhere in the spec.

It seems to be a variant that's used by several programs though.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8623.20 In reply to 8623.18 
Hi Karsten !

LOL :)

I think we are crazy :)

Ciao!

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-35