Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Creating Textured 3D Objects

Imagine that one wanted to create some game object like the ones in the Codea resources. Fairly simple shapes, with textures.

I could do the job with Blender on the Mac, if I didn't hate Blender. It has the ability to make any shape, and to define even complex UV maps that will allow textures to be applied any way one wants. (I'm not sure whether it can export with textures already printed on or not, but surely there is a way.)

It would be very nice to be able to do the whole job with one's iPad. There are some very powerful CAD-oriented apps for the iPad. I'm particularly fond of Shapr 3D, which is downright amazing, but it can't apply or export textures, and has at best very simple UV maps. I'm not sure how to apply textures to an OBJ model anyway, other than going through something like Blender.

It seems to me that it would be valuable to have enough documentation to allow a new Codea user to build something like a simple game, even as simple as the Froggy game or Cargo-Bot. (Not that those are entirely simple but their 3D objects are pretty simple.)

So far I've not found a flow that's really worth writing up. I suspect that 3DC.io, as limited as it is, may be close to a decent way. I'd welcome other ideas, pointers to articles and sites, and so on.

Thanks!

Comments

  • Posts: 1,726

    @Ronjeffries - just in the middle of trying to texture models at the moment - Blender is way too complicated menus upon menus. I am trying Wings 3D at the moment which looks more accessible and even tried 3D Paint in Win 10. Keep me posted on your progress please.

  • Posts: 616

    will do. there's an article or two on my web site already, talking about my small progress ronjeffries.com

  • edited March 31 Posts: 1,726
    @RonJeffries - thanks for the link - you might want to change Waveform to Wavefront
    - Wikipedia link below for their post on it.

    https://en.m.wikipedia.org/wiki/Wavefront_Technologies
  • Posts: 616

    thanks

  • Posts: 534

    As Shade now allows to load a user defined model, maybe Shade could implement a way to paint a texture onto the model.

  • edited April 3 Posts: 1,726

    @piinthesky - I have been thinking round this, @John pointed out that the concept of Shade is to build this into the shader. I think we just need to set up a module for combining the model and texture. Once built that should allow you the flexibility of adding new refinements rather than just a loader.

    I have been looking at the Shade examples to pull out the thread used for this.

  • Posts: 616

    the trick with making something look sensible ... say made of bricks or the like ... is that the model needs a sensible mapping from its triangles onto the texture. this is called UV mapping, and almost any fairly complex model needs its UV map somewhat hand crafted.

  • Posts: 1,726
    @RonJeffries - I have been playing around with the latest version of Blender 2.8.2 and, as always, after many changes the package is now very powerful but almost indecipherable. Lots of video tutorials from experts who flip through the screens so fast you have great difficulty in following them. But I am slowly making progress. Do you know of any good references to the uv unwrapping and texturing of models using it. Viewed many but none I find easy to understand. Probably need to sit down and wade through the manual.
  • Posts: 616

    i found haven ditko's tutorials useful if you can stand ger voice

  • Posts: 6

    I have been looking for a good non-subscription 3D editor working on the iPad for a long time. But I was not very pleased with what I found, yet.

    But today I stumbled upon 'Verto Studio 3D' and since it is on sale right now for just 7,99€ (maybe 6,99$ in the US) I immediately purchased it. After playing with it for 5 minutes I think this is one of the best iPad 3D editors you can get for that price. Supports mesh editing, texture mapping and even the creation of your own shaders.

    Here is a quick snapshot to give you an impression:

  • Posts: 6

    I have just exported an object with texture from 'Verto Studio 3D' as an .obj file and successfully imported it into Codea

  • edited April 17 Posts: 1,726
    @RonJeffries @TheMojoMan - still moving slowly with3D editors but now trying to use two free ones on my Mac and PC. They are Wings 3D and MeshLab. Used the latter years ago, version on the iPad but stopped updating and could not get through apple store. Now new 2020 version for Meshlab (and think PC). Much less involved than Blender but both a little more eccentric. Slowly getting used to them. What I do like is you can colour models by vertex definition in your model in obj format, load into Meshlab and , after a little fiddling, dave as a textured model obj/mtl/ texture png.

    I've been trying to set up a 3D video by making several Codea scenes and recording them as a prompt to 'Stay At Home' in the fight against Corona. Made first part but it's slow work.
  • SimeonSimeon Admin Mod
    Posts: 5,364

    @TheMojoMan nice! Cool to see another 3D editor for iOS

  • Posts: 534

    By the way, this old thread by @Jaybob might be interesting for you, he made some progress towards a 3D mesh lab within Codea.

    https://codea.io/talk/discussion/6419/3d-mesh-lab#latest

  • Posts: 616

    took a look at verto3d in ipad. interesting. manual is incomplete, only support appears to be discord. not gonna make the cut for me.

  • Posts: 1,726

    @RonJeffries - now trying to use Verto 3D but can not find the manual. Loaded an obj file and it loaded up without using the mtl file so no colouring, will try with vertices colouring in the object file. Even so, tried to find the texturing options in Verto 3D but - can’t find manual?

    Also, just trying some models in Codea using Euler angles to rotate and getting some significant distortion. Anyone know how to set up with quaternions?

  • Posts: 616

    somewhere on the verto site there's a link to an out of date doc. i've closed it, so don't have the link, sorry.

  • edited April 17 Posts: 1,726

    @Simeon - with distortion on euler angles on my model I looked at the Craft tutorial/trainer but it had an error. I seem to remember someone else mentioning problems with the examples, possibly @dave1707 or @RonJeffries. Can you update them without having to update Codea or is it wrapped in a Codea installation. If it is the latter, it may be a good idea to make them independent and open for additions by forum members (with your approval of course).

  • dave1707dave1707 Mod
    Posts: 8,398

    @Bri_G A lot of the examples we’re giving the asset warning and I noticed the Voxel Editor wasn’t working. I had to update the Load and Save statements to get that to work, but that was easy enough. The problem is that when Codea is updated and the examples aren’t, the same errors just come back.

  • SimeonSimeon Admin Mod
    Posts: 5,364

    @dave1707 did I fail to update the voxel editor, sorry about that. I thought I had managed to catch them all in the update to 3.1

  • Posts: 1,726

    @Simeon the demo I was referring to was 'Learn Craft' > I have since tried all the demos (not exhaustively) and noticed that both Voxel Terrain and Voxel Player both have diagonal buttons forward which have no response.

    The Voxel Editor, when I first loaded it seemed to have a dark image present and didn't respond to button requests. On reloading it perforemed as expected.

    In the World Generator built the default World up OK but, when I changed either the seed or the displacement and tried to rebuild it crashed out of Codea.

    Yeah, hadn't thought about the requirement to change the demos every time you update Codea - but then again it should be easier for the Demo authors to update expecially if they were testing the betas.

  • edited April 17 Posts: 1,726

    @RonJeffries - found the manual for Verto 3D, it's from the i (info) icon on the loading page and you can download it as a pdf. It also answered my question - if you use iTunes for transferring files the full model set of files are transferred. But, you can load a model from an email or Dropbox or hyperlinks but only the obj file itself will load. I find that a bit frustrating - I don't like loading through iTunes. Is the 'File Sharing' it refers to local on your system or, in addition, with the authors/forum members of Verto 3D.

    Edit: in addition it crashed on me with the Skybox but I am still playing around at the moment.

  • Posts: 113

    @Ronjeffries Maybe you can try the app Qlone, it provides a very easy way to create textured 3D model

  • edited April 28 Posts: 1,726
    @binaryblues - thanks for the suggestion. Looked it up, technically looks fascinating. The maths must be horrendous and designing that map - must live on a different plain.

    Seriously, doesn't quite do what I need and looks a little dubious from the cost point of view. Thanks - good find.

    Edit: oops wrong author, sorry
  • Posts: 616

    thanks. @binaryblues, will check it out

Sign In or Register to comment.