question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with wireframe parameter for quad faces (in r60)

See original GitHub issue

R60: Seems that the wireframe is shown for the actual triangles that are rendered. R59: Meshes with quad faces are rendered as quad faces in wireframe mode.

So I’m hoping this is an issue, not a changing in the behaviour of this wireframe parameter for materials. Since I want to draw cubes with their edges shown.

Test Code:

  var scene = new THREE.Scene();
  var camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);
  camera.position.z = 5;

  var renderer = new THREE.WebGLRenderer();
  renderer.setSize(window.innerWidth, window.innerHeight);
  document.body.appendChild(renderer.domElement);

  var geometry = new THREE.CubeGeometry(1,1,1);
  var material = new THREE.MeshBasicMaterial({color: 0x00ff00,wireframe: true});
  var cube = new THREE.Mesh(geometry, material);
  scene.add(cube);

  var render = function () {
    requestAnimationFrame(render);

    cube.rotation.x += 0.01;
    cube.rotation.y += 0.01;

    renderer.render(scene, camera);
  };

  render(); 

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
theo-armourcommented, Aug 22, 2013

The loss of Face4 and the new appearance of diagonals in wireframe materials is a huge loss for designers.

How to encapsulate this in a few words? How’s this (opinion): Things that used to be pretty are now ugly.

Previously wireframe was part of the designer’s tool kit. Now it merely serves for debugging code.

Please, please bring back the quad wireframe capability using some method us non-techies can deal with…

0reactions
mrdoobcommented, May 21, 2014

I agree. We’re not there yet though. We have a lot of code to clean up still.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing Blender's Biggest Issue - YouTube
... inquiries/donations/etc cgmatterofficial@gmail.com In this blender tutorial we make a wireframe node without diagonals ( wireframe in ...
Read more >
Untitled
#fan Cimeter definition, Trailer compliance plate sale, The argument song lyrics ... Trouble in tokyo credits, Dacor dishwasher ed24sch, Measy u4b quad core ......
Read more >
Untitled
Mrchuy0123, Sound of music songs maria, Pictures of olafs face, Fadu attitude status, ... Line 6 helix in stock, Legal issues health and...
Read more >
Highest scored 'mesh' questions - Page 28 - Stack Overflow
Plot a quad face in Octave ... I am looking for an algorithm for the following problem: Given: A 3D ... I am...
Read more >
Learning Three.js: The JavaScript 3D Library for WebGL
Three.js r60 project, which was released in August 2013. • Three.js: This is the normal ... A quad uses four vertices instead of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found