Code Monkey home page Code Monkey logo

Comments (8)

pyh007 avatar pyh007 commented on August 12, 2024

你好,请问下你这个3d模型的颜色是如何生成的,为什么我的3d模型没有颜色

from panohead.

MustafaHilmiYAVUZHAN avatar MustafaHilmiYAVUZHAN commented on August 12, 2024

mix colors according to the 'normal' vector. 2 images are enough to create. full back and front.

from panohead.

Mohamedhoussein avatar Mohamedhoussein commented on August 12, 2024

from panohead.

MilesTheProwler avatar MilesTheProwler commented on August 12, 2024

Hi, how did you get the RGB texture ?

from panohead.

kylemcdonald avatar kylemcdonald commented on August 12, 2024

mix colors according to the 'normal' vector. 2 images are enough to create. full back and front.

@MustafaHilmiYAVUZHAN thanks for your input. Do you have any reference code for this? When you say normal vector, do you mean the w vector? Should I run multiple w vectors through torgb and then take an average or something?

from panohead.

MustafaHilmiYAVUZHAN avatar MustafaHilmiYAVUZHAN commented on August 12, 2024

resim_2023-08-12_184414380
view uv
@kylemcdonald

from panohead.

zz7379 avatar zz7379 commented on August 12, 2024

Hi! Very interesting attempt! Could you please share the code of "look for the nearest color on the isosurface mesh"? Thanks a lot!

from panohead.

zz7379 avatar zz7379 commented on August 12, 2024

Followed by this code, I got the mesh, but the color seems not right.
Notice that the colors is in range[-3.1344, 3.2253] so i clamp it to [-1, 1]. Then i turn it into [0, 1]
image

from panohead.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.