Display problems with .OBJ files
Hi everybody,
I load some .OBJ files with the objectfile loader, it works good, but when I look at the objects, there's some polygons error : the display is not really good. When I use the zoom, the polygons seems to move : I think that there is a problem of z-ordering, because sometimes polygons which are behind, pass over front polygons...
There's 2 links to see what I mean :
First, normal view, I don't do any moves with the mouse : http://mfrac10.free.fr/GIF/Capture1.jpg
Second, I rotate the model, and you can see that some hidden walls pass over others : http://mfrac10.free.fr/GIF/Capture2.jpg
If somebody knows about this kind of problem, it would be very great !
Thanks !
Thank for your answer and sorry for the pictures, but if I zoom in on the buildings, the display errors disappear...
The normals are not set properly, because those .obj files are from a .dxf where the normals are sometimes clockwised, sometimes anti-clockwised : the solution I use is on the .obj to enumerate points for a face on one way and on the other way (f 1 2 3 and f 3 2 1).
With the mouse, I rotate the view : I use a custom Behavior, at the beginning to have many views, but now it's the same file as the one from the API.
I repeat, but maybe it is important : when I am closed from an object, the default seems to disappear. It's when I go far from the objects that I see those defaults...
Similar Messages
-
Whats is the the problem with OBJ files in Photoshop CC 2014?
What is up my fellow adobinites"!? Well I want to start off with, "I Have A Dilemma". When I open a .obj file in Photoshop CC 2014 There is an error every time but in reaction to the outcome, I torrented Photoshop Cs6 for educational and testing purposes and it worked flawlessly. It was the "Plus" version so yeah. Also the .obj file worked in After Effects CC 2014 and on the other hand I think Photoshop just got 3d features in I am correct.
Also if you have any obj file websites please teem me. I will love you for ever.Process: Adobe Photoshop CC 2014 [435]
Path: /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
Identifier: com.adobe.Photoshop
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [187]
Responsible: Adobe Photoshop CC 2014 [435]
User ID: 501
Date/Time: 2014-09-12 23:50:23.045 -0400
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: 1CB21A1B-9929-377B-BB77-969F8AD3E6DC
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/amtlib.framework/Versions/A/amtlib
Referenced from: /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
Reason: image not found
Binary Images:
0x7fff69eb7000 - 0x7fff69eea817 dyld (239.4) <042C4CED-6FB2-3B1C-948B-CAF2EE3B9F7A> /usr/lib/dyld
0x7fff8aeda000 - 0x7fff8af28ff7 com.apple.opencl (2.3.59 - 2.3.59) <044485A4-A50C-34CE-A1F9-35A50CC68313> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
Model: MacBookPro10,1, BootROM MBP101.00EE.B03, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f36
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.6f1 14216, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM256E, 251 GB
USB Device: Backup+ Mac SL
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Optical Mouse
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4 -
Problem with .sitx files (Safari but not Firefox???)
Hi All,
I have a website online (with help from iWeb and BBEdit) but am having a problem I cant figure out (this IS my first website!)
I am hoping that someone much more knowledgeable than me can help me with it.
I basically have a download section. Icons and desktops.
Now, when I (or anyone else) tries to download- everything seems to be fine in FireFox (even IE!) but not in Safari.
My desktops are compressed as .zip files. No problems there, everyone can download and open (including Safari users!)
My icons are compressed as .sitx files. This is where the problems come in. Firefox and IE download them no problem ('save to disk?' etc) However when one attempts to download the icons (.sitx files) with Safari it simply displays pages of gibberish (starting with the word 'Stuffit') which I am presuming is Safari trying to 'display' the contents of the actual stuffit file.
Why is this? Why wont safari simply download the .sitx files as it does .zip files?
Does Safari have some sort of inherent problem with .sitx files? Is it some sort of configuration within Safari preferences? or (and probably most likely!) is it something I have done wrong?
Oh, my website (page in question!) can be found here:
http://aoimedia.co.uk/news/news.html
Thanks in advance for all your valuable help
Kind regards
John
12 G4 Powerbook/Superdrive. (she's named Skates!) Mac OS X (10.4.4)Hi,
It sounds like the server the website/file is hosted on is not identifying the type correctly. As you've seen, different browsers will handle this situation differently.
Have a read of this article:
http://www.macosxhints.com/article.php?story=20040211102018600
Hope that helps. -
[help needed] Javadoc problem with many files
Hi,
I have an Ant script generating my javadoc every night. I have about 5700 java files making about 42MB of data.
It worked fine for two years until two weeks ago, where the script stopped with the following message :
<<
[... big snip...]
[javadoc] C:\Temp\Java\blablabla.java:58: cannot resolve symbol
[...snip...]
[javadoc] public HtmlComponent getCell(
[javadoc] ^
[javadoc] 100 errors
[javadoc] 1 warning
BUILD SUCCESSFUL
Total time: 1 minute 40 seconds
>>
If I execute the javadoc generation on a smaller set of java source files, I still have a lot (100 displayed) of error messages like the one above (which generaly don't stop javadoc), but the generation continues :
<<
[...big snip...]
[javadoc] C:\Temp\Java\xxx.java:12: cannot resolve symbol
[...snip...]
[javadoc] public SelectionNoop(Fig fig) {
[javadoc] ^
[javadoc] Standard Doclet version 1.4.2_08
[javadoc] Generating C:\temp\JavadocNewSI\constant-values.html...
[javadoc] Building tree for all the packages and classes...
[javadoc] Generating C:\temp\JavadocNewSI\com\zz\common\job\common\class-use\ManagerDelegate.html...
[...big snip...]
[javadoc] Generating C:\temp\JavadocNewSI\stylesheet.css...
[javadoc] 6251 warnings
BUILD SUCCESSFUL
Total time: 23 minutes 33 seconds
>>
I don't understand what's going on. It is not a memory problem since it issues an intelligible message.
I also managed to generate javadoc for several subsets, so it can't be a problem with one file or folder crashing javadoc.
Any help welcome,
TugWell, it seems that the cause was indeed an empty java file...
The generation fails if the empty java file is the set AND a refering file is in the set. If only one of these conditions are missing, then javadoc goes on...
What I don't understand is that the empty file used to be here since may 2005 and the referring class is unchanged since 2004... it never bugged javadoc before.
Creepy...
Tug -
Display problems with Kwin on intel hardware
Hi all,
Since the latest update of xorg and intel drivers, I have a display problem with kwin's expose-like feature. Before I file a bug,
- Is anyone experiencing the same problem? Do you have a workaround?
- Does anyone know what could be at fault?lardon wrote:
panosk wrote:Indeed... If you want to fill a bug report right now go ahead, otherwise I have to get to my laptop in a few hours to check logs and post a report then. BTW, could you also try Ctrl+F11 and rotate the cube for a while? You should notice some flashes and very bad performance, even with direct rendering.
I will, and I hope you'll contribute your logs to the bug report! The question is where to submit it: I'm pretty sure the bug is upstream, but is it a kwin bug or an xorg/intel bug?
Ctrl+F11 works "fine" on my system, even though it crashed kwin the first time I tried it :-)
Well, that's a very tough question! I was thinking to fill a bug report in Arch's bugtracker, although I also think it is an upstream bug. Problem is, after reading this http://blog.martin-graesslin.com/blog/2 … paces-4-5/ and this http://www.itnewstoday.com/?p=1803, one can realize the absolute *Mes(s)a * that dominates the whole graphics stack.... -
Problems with .ARW files and auto toning
problems with .ARW files and auto toning
let me try to explain this because this has happened in past and never found a way to resolve but i lived with it
now that I have a Sony A7R the problem is more serious
Firstly i take pride it making the picture happen all in camera, i use DRO lvl 5 to get enough light, like when i'm shooting at dusk. DRO its like doing HDR but in a single file, it lightens the darks. in my camera i'm happy with results
but when I upload them to lightroom, they come out near black.
allow me to explain
lets say I import 100 images
i double check my preferences and everything is UNCHECKED when it comes to importing options, there is no auto toning, nothing.
as the images import i see a preview in the thumbnail which looks fine.
i double click on one to enlarge it, hence leave grid view.
for a brief 1 or 2 seconds, i see the full image in all its glory but than lightroom does something funny, it darkens the image
one by one as it inspects each image, if it was a DRO image it makes it too dark.
to make this clear, the image is perfect as it was in the beginning but after a few seconds lightroom for some reason thinks it needs to correct it.
how to prevent lightroom from doing this, i want the image exactly as it is, why must lightroom apply a correction>?
i think it has to do something with interpreting the raw file and lightroom applies its own algorithm.
but here is what i dont get.....before lightroom makes the change i'm able to witness the picture exactly as it was taken and want it unchanged..
now i have to tweak each file or find a profile for it which is added work.
any ideas how to prevent lightroom from ruining my images and just leave them as they were when first detected...
there are 2 phases...one is when it originally imports and they look fine
second is scanning each image and applying some kind of toning which darkens it too much.
thanks for the helpsorry thats the auto reply message from yahoo email.
i've disabled it now
thing is, there is no DRO jpg to download from the camera
its only ARW. so my understanding is when i use DRO setting, the camera makes changes to the ARW than lightroom somehow reads this from the ARW.
but then sadly reverts it to no DRO settings.
because i notice if i take normal picture in raw mode its dark but if i apply dro to it, it comes out brighter, yet when i d/l the image from camera to lightroom, which is an ARW - there are no jpgs. lightroom decides to mess it up
so in reality there is no point in using DRO because when i upload it lightroom removes it.
is there a way to tell lightroom to preserve the jpg preview as it first sees it.
its just lame, picture appears perfect...than lightroom does something, than bam, its ruined,.
what do i need to do to prevent lightroom from ruining the image? if it was good in the first place. -
Problems with compressing files with right hand click. it does not work.
Problems with compressing files with right hand click.
I am using the compress function in the Mac OS (File > Compress XX) from time to time. Today it does not work anymore. OS 10.5.6
I get a message: The content list cannot be created for compressing.
I tried it with files and folders and keep getting this message. Anybody any idea as to how to fix thisThanks I love my macbook!!!!
I also got further problems such as copy-paste not working etc.
so I fixed it just this morning by running Applejack 1.5 and am back up running noticing your post.
thanks for helping though! -
Hi,
Iam facing with one problem.I have one swing interface through which I can upload files(back end servlet programme).Now I can upload all types of file but problem with image file it uploading perfectly that means size of the uploaded file is ok but its format damaged.It can not be open.My backend servlet programme is ok coz i tested it with html form it is working perfectly.Problem with swing interface.Plz guide me where I done a mistake.Below r my codes:-
ImageIcon Upload=new ImageIcon("images/Upload.gif");
Button=new JButton(Upload);
Button.setToolTipText("Upload");
Button.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
int returnVal = fc.showOpenDialog(ActionDemo4.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
String aa=file.getAbsolutePath();
textArea3.append(aa);
textArea2.append("Local URL:");
long l=file.length();
try
byte buff[]=new byte[(int)file.length()];
InputStream fileIn=new FileInputStream(aa);
int i=fileIn.read(buff);
String conffile=new String(buff);
String str1=textArea10.getText();
url = new URL ("http://127.0.0.1:7001/servletUpload?x="+str1);
urlConn = url.openConnection();
urlConn.setDoInput (true);
urlConn.setDoOutput (true);
urlConn.setUseCaches (false);
urlConn.setRequestProperty("Content-Type","multipart/form-data;boundry=-----------------------------7d11e410e500f2");
printout = new DataOutputStream (urlConn.getOutputStream ());
String content ="-----------------------------7d11e410e500f2\r\n"+"Content-Disposition: form-data;"+"name=\"upload\"; filename=\""+aa+"\"\r\n"+"Content-Type: application/octet-strem\r\n\r\n\r\n"+conffile+"-----------------------------7d11e410e500f2--\r\n";
printout.writeBytes(content);
printout.flush ();
printout.close ();
Best Regards
BikashThe errors are here:
byte buff[]=new byte[(int)file.length()];
InputStream fileIn=new FileInputStream(aa);
int i=fileIn.read(buff);
String conffile=new String(buff); (conffile is a String object containing the image)
and here:
String content ="-----------------------------7d11e410e500f2\r\n"+"Con
ent-Disposition: form-data;"+"name=\"upload\";
filename=\""+aa+"\"\r\n"+"Content-Type:
application/octet-strem\r\n\r\n\r\n"+conffile+"--------
--------------------7d11e410e500f2--\r\n";
printout.writeBytes(content);conffie is sent to the server but
it's non possible to treat binary data as String!
Image files must be sent as byte[] NOT as String ...... -
Display Problem with my Mac Pro and LG Flatron Wide Monitor in Mountain Lion
After upgrading to Mountain Lion, my Mac Pro has display problems with my LG Flatron display. The image is displayed with a black bar on the right and on the bottom. And the left side of the content is not visible. I tried every resolution available in the Display System Preferences, they are different in terms of how big the black bars are, and what part is not visible, but none of them are correct. I held down the option key to try to detect displays or switch to resolutions that are not normally available. When I restart the image is lined up with the display, but if the display ever goes to sleep or gets turned off, the image reverts to being off center, and the only way I can get it back is to restart... The interesting thing is that this monitor works fine with the same machine if I reboot using BootCamp into Windows 7. The Monitor also works fine, connecting the same connector to a Mac Mini, although that mac mini is running 10.6 and not Mountain Lion. I've reset the SMC and restarted countless times, I don't see any other levers to pull or things to try...
That card is for a PC it may not give you Startup and Option-Boot screens.
The 7950 "Mac Edition" card has a very distinctive look:
http://www.sapphiretech.com/presentation/product/product_index.aspx?cid=1&gid=3& sgid=1157&pid=1777&psn=&leg=0&lid=1 -
What is the exact problem with this file?
Hi all,
There is an old form , which was not in use from many days.
Now when we tried to run the form, i got the error saying "FRM-40734:Internal Error:Pl/SQL error occured.", in the login form.
When i tried to open the fmb file in Oracle Forms Builder 6i, i got the following error:
FRM-10102: Cannot attach PL/SQL library d2kwutil. This library attachment will be lost if the module is saved., but the fmb file got open.
The login button has the following code:
DECLARE
UNAME VARCHAR2(30);
--USER_ID PARAMLIST;
V_USER APUSERMA.USER_NAME%TYPE;
V_PASSWED APUSERMA.USER_PASSWD%TYPE;
BEGIN
select user_CD INTO :GLOBAL.USER_ID from apuserma
where user_CD = :TI_USER_NAME AND user_PASSWD = :IT_USER_PASSWD
AND SYSDATE BETWEEN USER_VALID_FRM AND USER_VALID_TO;
:global.user_id := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
:global.compname := :compname;
compnm(:compname);
--USER_ID := CREATE_PARAMETER_LIST('USER_id_NAME');
call_form('Forms\MAIN_SCREEN',hide,DO_REPLACE);
exception
when no_data_found then
MESSAGE('Incorrect Username or Password. Please Re-Enter');
message(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
EXIT_FORM;
When i tried to compile, i got error saying ,
Error 201 at line 10, column 28
identifier 'WIN_API_ENVIRONMENT.READ_REGISTRY' must be declared.
I am not getting to know What is the exact problem with this file?
Help me with this please.
Thank You.
Oracle forms builder 6i.
Oracle 9i.Vijetha wrote:
I also want to know what is the use of win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername') ??
What does it do??
If i comment the following line , will it be a problem??
:global.user_id := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
Because i commented the above line & compiled, so it is not giving any error now.
So please tell me what win_api_environment.read_registry does??
it's read windows registry value. So, no problem if you comment it.
Thanks -
Problem with Receiver File adapter
Hi
I have a problem with receiver file FTP adapter, while writting file in target folder, connection is failing, after retries, it writting file again. How to avoid this situation, is there any way to write the leftout part in the file.
VSHi
Thank u all, Problem is solved, i changed write mode to Over write existing file. It is working fine.
VS -
Has anyone had a problem with TapMedia File Manage installed on iPhone 5? I reported a WIFI functionality problem to the developer and asked for support. Instead the company has been very unprofessional by name calling me instead of logically evaluate and troubleshoot the problem
Hi AKE1919,
Welcome to the Support Communities!
The following information should help you with this:
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
http://support.apple.com/kb/HT1933?viewlocale=en_US
Cheers,
Judy -
Problem with import file type setting
Problem with import file type settings - In preferences>general I select "wav encoder" But then going to tools>Create it still says "create mp3 version".
Can't find a way to overcome this. Thanks for any help.Doublechecking, roy. After making the preferences change, are you leaving the General tab by clicking the OK button down the bottom-right-hand corner of the tab?
-
External Display Problem with x301
Hi everybody,
I have a external display Problem with my x301.
Ether direct attachment or via Lenovo USB Display Port Device, the external monitor (22" Benq LCD) starts to flickr after a couple of minutes and the external display shuts off.
Any ideas on this?
Thanks a lot
Chrisi have the same problem with X200 and the X200 ultrabay Docking station.
No idea yet ... -
Problem with URL File download
Hi every one i am facing a problem with URL File read Technique
import java.awt.Color;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
public class JarDownloader
boolean isSuccess = false;
public JarDownloader(String url)
downloadJar(url);
public boolean isDownloadingSuccess()
return isSuccess;
private File deleteExistingFile(String filename)
File jarf = new File(filename);
if(jarf.exists())
jarf.delete();
return jarf;
public static void main(String args[]){
new JarDownloader("url/filename.extension");
private void downloadJar(String url)
try
URL jarurl = new URL(url);
URLConnection urlc = jarurl.openConnection();
urlc.setUseCaches(false);
urlc.setDefaultUseCaches(false);
InputStream inst = urlc.getInputStream();
int totlength = urlc.getContentLength();
System.out.println("Total length "+totlength);
// If the size is less than 10 kb that means the linkis wrong
if(totlength<=10*1024)throw new Exception("Wrong Link");
JFrame jw =new JFrame("Livehelp-Download");
JPanel jp =new JPanel();
jp.setLayout(null);
JLabel jl = new JLabel("Downloading required file(s)...",JLabel.CENTER);
jl.setBounds(10,10,200,50);
jp.add(jl);
JProgressBar jpbar = new JProgressBar(0,totlength);
jpbar.setBorderPainted(true);
jpbar.setStringPainted(true);
jpbar.setBounds(10,70,200,30);
jpbar.setBackground(Color.BLUE);
jp.add(jpbar);
jw.setContentPane(jp);
jw.pack();
jw.setResizable(false);
jw.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
jw.setLocationRelativeTo(null);
jw.setSize(220,150);
jw.setVisible(true);
int readlngth=0;
int position=0;
byte[] readbytes = new byte[totlength];
while(totlength-position > 0)
readlngth = inst.read(readbytes,position,totlength-position);
position+=readlngth;
jpbar.setValue(position);
File jarf = deleteExistingFile(filename);
jarf.createNewFile();
//FileWriter fwriter=new FileWriter(jarf,true);
FileOutputStream fout = new FileOutputStream(jarf,true);
DataOutputStream dout = new DataOutputStream(fout);
dout.write(readbytes);
dout.flush();
dout.close();
inst.close();
jw.setVisible(false);
jw.dispose();
isSuccess=true;
}catch(Exception ex)
isSuccess=false;
}From the above code i received the total length of the PAGE content (i.e here url is a file) when i tried to find the size of that file it return -1.
please help meI think the real problem is that you don't check the return value from read (it's probably less than data.length indicating an incomplete read). Isn't there a readFully somewhere?
Maybe you are looking for
-
IPod touch 2G battery life draining
Hello all, Usually on my iPod, I turn off WiFi and lock the screen when I go to sleep and when I wake up 8 hours later, the battery is still full as it was when I left it and I can use it again happily. However, since last week, if I do this, the bat
-
Premiere Pro CS5 and After Effects CS5
Hi I'm fairly inexperienced when it comes to Adobe products. I was wondering whether Premiere Pro CS5 and After Effects CS5 can be used together, for instance Premiere Pro to do the basic editing and After Effects to do some more advanced stuff befor
-
Scheduler email report comes blank
Function RSTUptime Param([string] $Computer) $UTime= d:\scripts\ps1\uptime\uptime.exe $Computer Return $UTime if I run the above function manually (got to dir uptime then call RSTUptime "ComputerName") works fine get the email report comes fine witho
-
OS X Lion GeForce 320M compatibility
Is OS X Lion now ok for MBP 7,1 NVIDIA GeForce 320M graphics, previously people reporting problems ?
-
Will my app be allowed in the appstore?
Hello everybody, i'm a new iOS developer, going to use MonoTouch(i love c# ^^). So my question would be,if a shopping app for an online Headshop that sells bongs etc. would be allowed in the app store. I couldn't find a similar app yet, but found som