sant0s81 Posted February 11, 2020 Share Posted February 11, 2020 Hello, I dont know if thats the best titel, but I try to explain what I would like to get. I have a sphere with a high resolution earth texture. It looks great in far and medium distance. Now there is a specific area where I have to go even closer - and than again closer. The problem is, that the overall texture is already extrem big. So I again use a very high resolution texture, but only from that specific area. As closer I come, I only chose that area that I need and get a very high resolution. In Softimage my workflow was with clusters. I divided a GRID (not a sphere) in 8*8 tiles and projected the massive overall texture. Than I chose the face of that area and projected a texture only on that face (and a Cluster), but again with a very high resolution. For getting even closer, I divided only one face in 4 faces and could again chose only one face, to project the part of that area in high resolution. Finaly I used a FOLD operator, to create a sphere from that grid. I add a picture, to explain it better. Every color has its own projection. The green one is just a spherical projection - but the other colors are all planar. How would I do something like that in Houdini? Thx alot Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 11, 2020 Share Posted February 11, 2020 Hi Salomon, if it's just about switching textures, you better solve this within a shader. Based on the distance from camera to surface you could smoothly blend between a large texture (ie. earth) and a tileable close-up texture (ie. mars). blend_texture.hipnc Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted February 11, 2020 Author Share Posted February 11, 2020 @konstantin magnus thx for your reply. Thats something i definitly need, too - the fading. But its not about tileable textures but this: I have one texture that covers the earth - its 40k. Than I zoom in and have only one face covered with a texture (lets say europe), also 40k. Than I divide that face into 4 faces and use only one face, to again add an 40k texture (lets say germany). And finaly, I divide that face where germany is projected, again in 4 faces and add a texture, on with the alps - 40k If I would cover the sphere with one texture that has the resolution of that little face, I need a texture beyond the possibilities what Houdini could handle. Ill create an example to be more specific. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 11, 2020 Share Posted February 11, 2020 Just use 4 texture nodes then and blend between those. The tileablity was just to illustrate that more close-up maps are possible by scaling the UVs inside a material and that you won't need any subdivision faces to achieve the effect. Quote Link to comment Share on other sites More sharing options...
Atom Posted February 11, 2020 Share Posted February 11, 2020 At some point, you are at the compositing level. Just create Houdini footage for the first zoom in. Once you are no longer looking at a sphere, use the 40k images to fake the rest in your compositor. Check out the old earth zoom tutorial on VideoCopilot. Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted February 11, 2020 Author Share Posted February 11, 2020 @konstantin magnus and @Atom Thx again for answering. Of course I am rendreing these different parts in seperate passes and than blend it in comp. But its about the absolut correct position of the different textures. Its not that I have just a global texture, than some part of closer europe and even closer germany map. They always fit absolut correct in one of these rasters. Every next level is a new datasaet downloaded with a higher zoom, but always on the absolut correct position of one of these smaller rasters. Actually its like the system google maps is using. Each zoom level has always a raster of maps, each raster has 256*256px (or 512px, dont remember). When you zoom in, you still have the same resolution, just reloaded with a higher zoom. I just wonder, how I can create UVs, that stick exactly on a face only, not on the hole geometry. I attach a picture of a grid to explain a bit. @Konstantin: The problem with scaling the UV is, that I cannot use the same UV, since the textures are on complete different positions on the sphere/grid. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 11, 2020 Share Posted February 11, 2020 2 hours ago, sant0s81 said: Every next level is a new datasaet downloaded with a higher zoom, but always on the absolut correct position of one of these smaller rasters. @Konstantin: The problem with scaling the UV is, that I cannot use the same UV, since the textures are on complete different positions on the sphere/grid. Then scale and translate the UV coordinates inside the material using the UV transform-node. Quote Link to comment Share on other sites More sharing options...
flcc Posted February 11, 2020 Share Posted February 11, 2020 As Konstantin say it can be done with uv scaling, but I have done exactly the same earth setup stuff, first in 3dsmax, then in C4D, and it's more easy to do with multiple uv sets. Each tile covering the full uv domain of the corresponding faces. With faces maching the google or Nasa slicing. Thus I guess your question is more how about multiple UV sets in houdini. If this help, here is a little start exemple. If you use mantra for rendering, you must unlock the principledshader to change the second (or third or...) uv name inside. second texture don't show in viewport but is rendered. This shading part could surely be improved, as i'm not a mantra user. Multiple uvs.hipnc Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted February 12, 2020 Author Share Posted February 12, 2020 (edited) @flcc and @konstantin magnus thx! I ll try that and let you know if it works. Edited February 12, 2020 by sant0s81 Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted February 12, 2020 Author Share Posted February 12, 2020 (edited) I just realised, that I have to start with uv, than uv2, uv3, etc - NOT with uv, uv1, uv2, etc... Did cost me some hair on my head But I am facing another problem now and I dont understand it. When I subdivide AFTER everything else, the textures suddenly get totaly messed. Is there a way, to subdivide, but keep the textures correct? Of course I see that the IDs are changed - but I thought, since I do that AFTER everything else, it should still stay intact... edit: strange is, that the first texture is okay, just the other 4 are kinda distored... edit2: solved - just had to change Algorithm, now it works. Edited February 12, 2020 by sant0s81 Quote Link to comment Share on other sites More sharing options...
sant0s81 Posted February 13, 2020 Author Share Posted February 13, 2020 Hey I am having a new problem with my little project. Everything runs so far and its fun. But I get seams between the different textures. When I connect the tiles in photoshop, there is no seam. I tried playing with the UV Transform, but the seams stay. Do I somehow have to increase the resolution of the UVs? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.