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;








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










share|improve this question






























    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










    share|improve this question


























      0












      0








      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










      share|improve this question
















      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 14:14









      xcmerxcmer

      83 bronze badges




      83 bronze badges

























          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
          );



          );














          draft saved

          draft discarded
















          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.




















          draft saved

          draft discarded















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript