patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

no effect from changing isomap resolution #304

Closed wildeyevr closed 4 years ago

wildeyevr commented 4 years ago

interested in rendering isomaps at a higher resolution... when I pass in a new value (like 2048), the resulting isomaps are still 512... am I missing something?

patrikhuber commented 4 years ago

Hi,

When you pass a new value to what?

wildeyevr commented 4 years ago

Hey thanks for getting back and sorry for not being clear at all... when using render::extract_texture()... it looks like you have it set up to pass in an int for the resolution of the texture... but it doesn't have any effect when I do... also doesn't write any textures out if I change it from 512

patrikhuber commented 4 years ago

Hmm, I've used that parameter before to create texture maps of higher resolutions, so it should work. I would recommend you to run a debug build and step through it and see what's happening - it should be fairly simple. You can also try render::v2::extract_texture(...) though you may or may not run into other issues there.

wildeyevr commented 4 years ago

Hey Patrik... thanks for getting back... ended up being a silly mistake on my part... works fine... appreciate your help

patrikhuber commented 4 years ago

Great, thanks for reporting back!