What does textureCoordinate node do?OpenGL, applying texture from image to isosurfaceImage manipulation and texture mapping using HTML5 Canvas?Modifying a node of an x3d scene produce no resultwhat causes “ inline method not to work for chrome browser”?LWJGL: Textures drawing wider than specifiedopengl texture mapping off by 5-8 pixelsMost Efficient way of Multi-Texturing - iOS, OpenGL ES2, optimizationX3DOM TwoSidedMaterial does not workWhat is the best way to create animations with x3Dom?Why does OpenSceneGraph map all Sampler2D to the first texture
As an employer, can I compel my employees to vote?
Who are the people reviewing far more papers than they're submitting for review?
Why do things cool down?
What are the end bytes of *.docx file format
Twelve Minesweeper mines that make twelve 4s
Is there any actual security benefit to restricting foreign IPs?
What is the origin of the “clerics can create water” trope?
What do you call the battery slot's ends?
Why can't we use uninitialized local variable to access static content of its type?
What's the purpose of autocorrelation?
Delete empty subfolders, keep parent folder
What is the maximum viable speed for a projectile within earth's atmosphere?
Quick Kurodoko Puzzle: Threes and Triples
Is Zack Morris's 'time stop' ability in "Saved By the Bell" a supernatural ability?
Is it safe to put a microwave in a walk-in closet?
Is a global DNS record a security risk for phpMyAdmin?
Can one guy with a duplicator initiate a nuclear apocalypse?
What to do as a player when ranger animal companion dies
Manager manipulates my leaves, what's in it for him?
Is there any reason nowadays to use a neon indicator lamp instead of a LED?
Inquiry answerer
Get the encrypted payload from an unencrypted wrapper PDF document
Floating Point XOR
I was cheated into a job and want to leave ASAP, what do I tell my interviewers?
What does textureCoordinate node do?
OpenGL, applying texture from image to isosurfaceImage manipulation and texture mapping using HTML5 Canvas?Modifying a node of an x3d scene produce no resultwhat causes “ inline method not to work for chrome browser”?LWJGL: Textures drawing wider than specifiedopengl texture mapping off by 5-8 pixelsMost Efficient way of Multi-Texturing - iOS, OpenGL ES2, optimizationX3DOM TwoSidedMaterial does not workWhat is the best way to create animations with x3Dom?Why does OpenSceneGraph map all Sampler2D to the first texture
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to texture a hexagonal pyramid with a png image. It's simple when its a 2 dimensional hexagon but I can't seem to understand the use of the <textureCoordinate/>
node and what is defined in point
<Shape DEF="Dodecahedron">
<Appearance>
<ImageTexture url="./shell-tex.png" />
</Appearance>
//Draws a hexagonal Pyramid
<IndexedFaceSet
solid="false"
coordIndex=' 0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4 5 -1 0 5 6 -1 0 6 1 -1' texCoordIndex="0 1 2 3 4 5 -1">
<Coordinate point='0 0.5 0, 0 0 -1, 0.866 0 -0.5, 0.866 0 0.5, 0 0 1, -0.866 0 0.5, -0.866 0 -0.5'/>
<TextureCoordinate point=""/>
</IndexedFaceSet>
</Shape>
When <textureCoordinate />
is empty the image maps onto the shape but the dimensions are off and the shape looks different but I want the image to map onto the shape with the shapes dimensions
texture-mapping x3d x3dom
add a comment
|
I'm trying to texture a hexagonal pyramid with a png image. It's simple when its a 2 dimensional hexagon but I can't seem to understand the use of the <textureCoordinate/>
node and what is defined in point
<Shape DEF="Dodecahedron">
<Appearance>
<ImageTexture url="./shell-tex.png" />
</Appearance>
//Draws a hexagonal Pyramid
<IndexedFaceSet
solid="false"
coordIndex=' 0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4 5 -1 0 5 6 -1 0 6 1 -1' texCoordIndex="0 1 2 3 4 5 -1">
<Coordinate point='0 0.5 0, 0 0 -1, 0.866 0 -0.5, 0.866 0 0.5, 0 0 1, -0.866 0 0.5, -0.866 0 -0.5'/>
<TextureCoordinate point=""/>
</IndexedFaceSet>
</Shape>
When <textureCoordinate />
is empty the image maps onto the shape but the dimensions are off and the shape looks different but I want the image to map onto the shape with the shapes dimensions
texture-mapping x3d x3dom
add a comment
|
I'm trying to texture a hexagonal pyramid with a png image. It's simple when its a 2 dimensional hexagon but I can't seem to understand the use of the <textureCoordinate/>
node and what is defined in point
<Shape DEF="Dodecahedron">
<Appearance>
<ImageTexture url="./shell-tex.png" />
</Appearance>
//Draws a hexagonal Pyramid
<IndexedFaceSet
solid="false"
coordIndex=' 0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4 5 -1 0 5 6 -1 0 6 1 -1' texCoordIndex="0 1 2 3 4 5 -1">
<Coordinate point='0 0.5 0, 0 0 -1, 0.866 0 -0.5, 0.866 0 0.5, 0 0 1, -0.866 0 0.5, -0.866 0 -0.5'/>
<TextureCoordinate point=""/>
</IndexedFaceSet>
</Shape>
When <textureCoordinate />
is empty the image maps onto the shape but the dimensions are off and the shape looks different but I want the image to map onto the shape with the shapes dimensions
texture-mapping x3d x3dom
I'm trying to texture a hexagonal pyramid with a png image. It's simple when its a 2 dimensional hexagon but I can't seem to understand the use of the <textureCoordinate/>
node and what is defined in point
<Shape DEF="Dodecahedron">
<Appearance>
<ImageTexture url="./shell-tex.png" />
</Appearance>
//Draws a hexagonal Pyramid
<IndexedFaceSet
solid="false"
coordIndex=' 0 1 2 -1 0 2 3 -1 0 3 4 -1 0 4 5 -1 0 5 6 -1 0 6 1 -1' texCoordIndex="0 1 2 3 4 5 -1">
<Coordinate point='0 0.5 0, 0 0 -1, 0.866 0 -0.5, 0.866 0 0.5, 0 0 1, -0.866 0 0.5, -0.866 0 -0.5'/>
<TextureCoordinate point=""/>
</IndexedFaceSet>
</Shape>
When <textureCoordinate />
is empty the image maps onto the shape but the dimensions are off and the shape looks different but I want the image to map onto the shape with the shapes dimensions
texture-mapping x3d x3dom
texture-mapping x3d x3dom
asked Mar 28 at 14:14
xcmerxcmer
83 bronze badges
83 bronze badges
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55399785%2fwhat-does-texturecoordinate-node-do%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55399785%2fwhat-does-texturecoordinate-node-do%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown