Recent Posts

Pages: [1] 2 3 ... 10
1
Post Your Questions & Comments Here / Re: ObjReader questions
« Last post by Patrice Terrier on September 26, 2021, 09:45:09 pm »
Send me just an example of your .obj file, the mtl file is needed only when using textures.

I want to see how your photogrammetry workflow looks like, compared to the result of a 3D scanner.

Note: without texture, an .obj looks just the same than a .stl file.
2
Post Your Questions & Comments Here / Re: ObjReader questions
« Last post by Marc Haefner on September 26, 2021, 05:19:09 pm »
The only thing i can do better in my workflow is reshaping/smoothing the simple wireframe i get from photogrammetry  and resampling the triangles with "weighted average pixels" from camera stations.

I am using Blender

> example of an.obj file you are using, altogether with the texture set and the .mtl file.

For the wireframe i have no .mtl File

I produce a simple .obj coordinate file with my photogrammetry workflow

maybe i should go into a mathforum

I probably have to convert the wireframe into nerbs


3
Post Your Questions & Comments Here / Re: ObjReader questions
« Last post by Patrice Terrier on September 25, 2021, 02:00:48 pm »
Marc,

Send me an example of an.obj file you are using, altogether with the texture set and the .mtl file.

To work on 3D models, i am using Maxon Cinema 4D version 21, and i export them as wavefron .obj.
You can do the same with Blender that is freeware.

The main difference between ObjReader and other .obj compatible readers, is the use of the custom .mtl file using specific extensions not supported in the standard obj format.

Also Version 3.00 has switched from VBA to VBO/FBO mode, meaning almost everything is now handled by the GPU at the maximum speed of the graphic card to allow for smooth manipulation of high polygon models with millions of vertices.

To learn more about it, press the F1 key when running ObjReader.

Here is an example of a specific ObjReader material file.
The parameters shown in red are meta commands specfic to OR (ObjReader)
Those shown in blue have been slighty modified for the purpose of OR specific shaders.

#light frontambient 44 44 44
#light frontdiffuse 109 109 110
#light frontspecular 135 206 250
#light leftambient 76 0 0
#light leftdiffuse 125 59 24
#light leftspecular 92 136 162
#light rightambient 65 105 225
#light rightdiffuse 184 222 234
#light rightspecular 192 192 192

#pose 0.24 0.24 0.00 0.24 0.24 -1.57 0.30 24.30 0.00

#multilight
#straylight 50
#wallpaper @oblivionHUD.fs
#playaudio predator.mp3 100 loop sync
#demo


newmtl black
Ka 0.01 0.01 0.01
Kd 0.01 0.01 0.01
Ks 0.01 0.01 0.01
Ns 52
illum 1

newmtl hair
Ka 0.01 0.01 0.01
Kd 0.75 0.75 0.75
Ks 0.55 0.55 0.55
map_Ka gun_face_AO.jpg
map_Kd gun_face.jpg
map_Ks gun_face_KS.jpg
map_bump gun_face_bump.jpg
Ns 384

illum 2

newmtl gun
Ka 0.01 0.01 0.01
Kd 0.75 0.75 0.75
Ks 1 1 1
map_Ka gun_face_AO.jpg
map_Kd gun_face.jpg
map_Ks gun_face_KS.jpg
map_bump gun_face_bump.jpg
Ns 512

illum 2

newmtl blades
Ka 0.01 0.01 0.01
Kd 0.65 0.65 0.75
Ks 1 1 1
map_Kd helmet.png
map_Ks helmet.png
map_bump neutral_bump.png
Ns 999

illum 2

newmtl helmet
#pulse_e 1
Ka 0.01 0.01 0.01
Kd 0.135 0.135 0.135
Ks 1.25 1.25 1.25
Ke 0 1 0
map_Ka helmet_occ.png
map_Kd helmet.png
map_Ks helmet_spec.png
map_Ke helmet_KE.png
map_bump helmet_bump.png
Ns 999

illum 2

newmtl lazer
#pulse_e 1
Ka 0.01 0.01 0.01
Kd 0.8 0 0
Ks 1 0 0
Ke 1 0 0
map_Kd lazer.png
map_Ke lazer.png
map_bump neutral_bump.png
Ns 512
d 0.99

illum 2

newmtl skull
Ka 0.01 0.01 0.01
Kd 0.75 0.75 0.75
Ks 0.1 0.1 0.1
map_Ka face_occ.png
map_Kd face.png
map_bump face_bump.png
Ns 256

illum 2

newmtl body
Ka 0.01 0.01 0.01
Kd 0.75 0.75 0.75
Ks 0.35 0.35 0.35
map_Ka body_occ.png
map_Kd body.png
map_Ks body_spec.png
map_bump body_bump.png
Ns 1000
illum 2


Support of ambient occlusion, multiple light sources, and emissive color, add an extra level of realism.


4
Forum Registration / Re: ObjReader question
« Last post by Patrice Terrier on September 25, 2021, 01:46:06 pm »
5
Post Your Questions & Comments Here / ObjReader questions
« Last post by Patrice Terrier on September 25, 2021, 01:44:36 pm »
Marc,

ObjReader internaly is using triangles (not quads), and if the mesh is using quads, they are converted on the fly into triangles.

For texturing purpose it can use any image size, and also transparent .png files.
ObjReader is GPU based, thus it can handle very large meshes.

As a matter of quality have a look on this video
Note: The video has been converted to ."webM" with the new FFcapture utility (based on FFmpeg).

For panorama have a look on this other tool i wrote long ago.
http://www.objreader.com/index.php?topic=25.0

6
Forum Registration / Re: ObjReader question
« Last post by Marc Haefner on September 24, 2021, 05:12:52 pm »
Here you see how accurate my DSLR-Calibration is.
For a FX-Sensor i reach the Millimeter :)

https://www.realoptics.com/maxfront.jpg  (Resampled from 3 Camerastations with "weighted pixels")

Maybe - means: I dont know :) .... but maybe i just need OBJreader as a Frontend for my photogrammetric algos.

How can we come into business ?

,
mark
I will not not go with TPM 2.0 (WIN10 my last ?)
https://www.youtube.com/watch?v=PC60Ae0chIA
7
Forum Registration / Re: ObjReader question
« Last post by Marc Haefner on September 24, 2021, 03:29:55 pm »
Hi Patrice,

my understanding of the .obj format is obviously quite on start/beginning :)


https://www.youtube.com/watch?v=67hlqbmLHi4&t=2012s

these wireframes models you see @ 35:00 i can create very easy in .OBJ

But as you see I  can do  texturing just with triangles ...
This is looking quite angular

... what i am interested in is: How could i use these wireframes as a very first approximation for a perfect shape.

My target could be:

1. Reading an .obj wireframe inside ObjReader

2. Maybe Tri2Quad conversion or whatever for "condensing" points  (higher density)

3. Sculping a perfect shape - or automatic "smoothing" (what method ? )

Do you have any idea of photogrammetry ?

If yes:

4. Textures can be resampled by the "weighted average method" from "camera stations"  INTO the new "shaped" facet shapes

=> 5.:  What i have in mind is: a perfect REENGINEERING tool for industrial shapes

What would be your recommendation for reaching this target ?

thanks,
marc haefner
8
Forum Registration / Re: ObjReader question
« Last post by Patrice Terrier on September 21, 2021, 07:31:28 pm »
Marc,

ObjReader uses specific materials (.mtl file) to support unique properties like audio sync or 3D animation, and advanced texture set.

Thus, ObjReader while being able to read standard .obj file, is using specific materials to render complex model in real time with the best quality that most other 3D engine are only able to render in static mode, using post processing.

See the models from the "animation" section to better figure what it does in real time.

Note: If you have further questions, please post them here
http://www.objreader.com/index.php?board=1.0



9
Forum Registration / ObjReader question
« Last post by Marc Haefner on September 21, 2021, 07:11:19 pm »
I am not so sure, whether i am in the right forum

As you see in my video, I am doing photogrammetry

1. https://www.youtube.com/watch?v=96YlEpFg3SY&t=17s

here is a second longer video   -  don't waste your time if you are not interested in this subject

2. https://www.youtube.com/watch?v=67hlqbmLHi4&t=2012s

I have my own algos doing photogrammetry  based on a  "geometric 3D testfield  calibration"

The  results of this can be:
=================

1. an orthometric picture/image  of the object
I very often can create exact 3D-models just by modelling 3D information from the 2D-images with Blender

2. a  simple 3D wireframe model 
 ...for example see the BMW in the second video @ 35:00

a simple 3D wireframe model  can be "sculped"  to a perfect shape.

 I first make a tri2quad-conversion
... and then i am using the sculping tool in blender
At least I am just using my own algos and blender

I very often have problems with importing OBJ-Datas

For example I am very often not able creating an UV-map of the wireframe datas  etc.

and OBJ is the only 3D format which is quite free
 ...other formats dont work with IMPORT/EXPORT

My Question:
Can your tool help me with understanding the OBJ-format better ?


best regards,
mark
10
FFcapture / FFcapture C++ version 2.60
« Last post by Patrice Terrier on September 20, 2021, 11:20:57 am »
This is a major release with many code changes.

Main new features:

1 - Watermak
     Using a DWM/GDImage topmost window.
     You can customize the watermark.png file that is stored into the "Exe\Resource" folder.
     Use the watermak check box to turn it On/Off.
     The mouse allows you to move it at a specific location.

2 - WebCam support
     Usually the first list item of the "Capture" ComboBox.
     While it could be visible, the watermak doesn't get captured in this mode, because the desktop is hidden.
     The file is saved into the "User\Video" folder using the name of the WebCam device.

3 - New video formats
     Select one, before pressing the [Record Start] button (.mp4 is still the default).
     .mp4, .mkv, .avi, .wmv, .mov, .flv, .asf, .mpg.





New in Version 2.60,

is able to convert any video file, into internet .webm file (HTML5 compatible).

The size reduction is amazing, preserving both the audio track and image quality.

A circular gauge allows you to follow the progress...



Pages: [1] 2 3 ... 10